From 25be763f8ed5cada5d5055597ff22490c6b92022 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 12 Jul 2022 11:51:12 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E7=AA=97=E4=BD=93?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E4=B8=A2=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/electron/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/electron/main.js b/app/electron/main.js index 4ce2df45d..23ee21f9d 100644 --- a/app/electron/main.js +++ b/app/electron/main.js @@ -181,7 +181,7 @@ const boot = () => { require('@electron/remote/main').enable(mainWindow.webContents) mainWindow.webContents.userAgent = 'SiYuan/' + appVer + - ' https://b3log.org/siyuan ' + mainWindow.webContents.userAgent + ' 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://'))