yangjie #41

Merged
yangqiang merged 20 commits from yangjie into master 2024-12-11 14:52:08 +08:00
1 changed files with 4 additions and 4 deletions
Showing only changes of commit 844547d853 - Show all commits

View File

@ -142,11 +142,11 @@ app.on('ready', () => {
});
ipcMain.handle('setEnv', (event, str) => {
envStr = str;
if (startNumber === 0) {
updateHandle() // 检查更新
setInterval(() => {
updateHandle() // 每一小时检查更新
}, 1000 * 60 * 60)
if (startNumber === 0) {
createTray()
startNumber++
}