This commit is contained in:
zh
2025-11-06 10:05:05 +08:00
parent 790bead687
commit e47eb61f6b
4 changed files with 7 additions and 1 deletions

View File

@ -14,6 +14,10 @@ const yaml = require("js-yaml");
let Store = require('electron-store')
Store.initRenderer();
process.on('unhandledRejection', (reason) => {
console.error('主进程异步异常:', reason);
});
// 开发环境路径处理 - 确保添加正确的file协议
const devSplashPath = path.resolve(