- 添加 electron/config.ts 配置文件 - 支持 command(命令行) 和 exe 两种模式 - 更新 package.json 打包配置,添加 bin 目录 - 更新 .gitignore 忽略 bin/*.exe
10 lines
203 B
TypeScript
10 lines
203 B
TypeScript
export const appConfig = {
|
|
opencode: {
|
|
mode: 'command', // 'command' | 'exe'
|
|
exePath: 'bin/XCOpenCodeWeb.exe',
|
|
port: 4096,
|
|
healthCheckInterval: 10000,
|
|
maxRestartAttempts: 3,
|
|
},
|
|
}
|