@ -129,6 +129,9 @@ app.on('ready', () => {
}
createWindow()
updateHandle() // 检查更新
setInterval(() => {
updateHandle() // 每一小时检查更新
}, 1000 * 60 * 60)
createTray()
// 获取当前脚本所在目录的绝对路径
const currentDirectory = __dirname;