mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
🐛 修复窗体按钮丢失问题
This commit is contained in:
parent
25be763f8e
commit
1260fa45c7
1 changed files with 1 additions and 2 deletions
|
|
@ -180,8 +180,7 @@ const boot = () => {
|
|||
})
|
||||
|
||||
require('@electron/remote/main').enable(mainWindow.webContents)
|
||||
mainWindow.webContents.userAgent = 'SiYuan/' + appVer +
|
||||
' https://b3log.org/siyuan Electron'
|
||||
mainWindow.webContents.userAgent = 'SiYuan/' + appVer + ' https://b3log.org/siyuan Electron'
|
||||
mainWindow.webContents.on('did-finish-load', () => {
|
||||
if ('win32' === process.platform || 'linux' === process.platform) {
|
||||
siyuanOpenURL = process.argv.find((arg) => arg.startsWith('siyuan://'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue