This commit is contained in:
Vanessa 2022-07-12 11:35:34 +08:00
parent fab8affaf2
commit 52ba6b6297

View file

@ -220,9 +220,8 @@ const boot = () => {
})
// 加载主界面
const loadURL = 'http://127.0.0.1:6806/stage/build/app/index.html?v=' +
new Date().getTime()
mainWindow.loadURL(loadURL)
mainWindow.loadURL('http://127.0.0.1:6806/stage/build/app/index.html?v=' +
new Date().getTime())
// 菜单
const productName = 'SiYuan'
@ -699,4 +698,4 @@ powerMonitor.on('resume', () => {
powerMonitor.on('shutdown', () => {
writeLog("system shutdown");
fetch('http://127.0.0.1:6806/api/system/exit', {method: 'POST'})
})
})