From 56c671b0a85258351db192d430e0a6017d5e4a64 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 7 Nov 2022 15:16:06 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20macOS=20=E7=AB=AF=E6=8A=A5=E9=94=99=20`?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E8=A2=AB=E9=94=81=E5=AE=9A`=20Fix?= =?UTF-8?q?=20https://github.com/siyuan-note/siyuan/issues/6492?= 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 aed57b04f..d7f912c7d 100644 --- a/app/electron/main.js +++ b/app/electron/main.js @@ -560,7 +560,7 @@ const initKernel = (initData) => { switch (code) { case 20: showErrorWindow('⚠️ 数据库被锁定 The database is locked', - `
数据库文件正在被其他程序锁定。如果你使用了第三方同步盘,请在思源运行期间关闭同步。
The database file is being locked by another program. If you use a third-party sync disk, please turn off sync while SiYuan is running.
`) + `
数据库文件正在被其他进程占用,请检查是否同时存在多个内核进程(SiYuan Kernel)。
The database file is being occupied by other processes, please check whether there are multiple kernel processes (SiYuan Kernel) at the same time.
`) break case 21: showErrorWindow('⚠️ 监听端口 ' + kernelPort + ' 失败 Failed to listen to port ' + kernelPort,