🎨 使用第三方同步盘时弹出提示并退出内核 https://github.com/siyuan-note/siyuan/issues/7683

This commit is contained in:
Liang Ding 2023-03-16 22:55:32 +08:00
parent ad0b625db8
commit d15200957d
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 121 additions and 2 deletions

View file

@ -482,6 +482,11 @@ const initKernel = (workspace, port, lang) => {
"⚠️ 创建工作空间目录失败 Failed to create workspace directory",
"<div>创建工作空间目录失败。</div><div>Failed to create workspace directory.</div>");
break;
case 26:
showErrorWindow(
"⚠️ 文件系统不一致 File system inconsistent",
"<div>请勿使用第三方同步盘进行数据同步否则数据会被损坏OneDrive/Dropbox/Google Drive/坚果云/百度网盘/腾讯微云等)</div><div>Do not use a third-party sync disk for data sync, otherwise the data will be damaged (OneDrive/Dropbox/Google Drive/Nutstore/Baidu Netdisk/Tencent Weiyun, etc.)</div>");
break;
case 0:
case 1: // Fatal error
break;