mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
♻️
This commit is contained in:
parent
fab8affaf2
commit
52ba6b6297
1 changed files with 3 additions and 4 deletions
|
|
@ -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'})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue