修复更新提示错误问题

This commit is contained in:
2025-10-17 12:27:40 +08:00
parent 91114bcc80
commit 92e307d3e5
3 changed files with 2 additions and 27 deletions
-20
View File
@@ -34,26 +34,6 @@ async function createPortable(platform = 'win') {
await fs.copy(exePath, path.join(portableDir, exeName));
}
// 创建配置文件
const config = {
server: {
port: 3000,
autoOpenBrowser: true
},
proxy: {
port: null,
enabled: "auto"
},
logging: {
level: "INFO"
},
system: {
threadPoolSize: 16
}
};
await fs.writeFile(path.join(portableDir, 'config.json'), JSON.stringify(config, null, 2), 'utf8');
// 创建README
let executableInstructions = '';
if (platform === 'linux') {