mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-20 02:50:58 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
bbe426f90f
@ -468,6 +468,16 @@ const initKernel = (workspace, lang) => {
|
|||||||
'⚠️ 无法读写块树文件 Failed to access blocktree file',
|
'⚠️ 无法读写块树文件 Failed to access blocktree file',
|
||||||
`<div>块树文件正在被其他程序锁定或者已经损坏,请删除 工作空间/temp/ 文件夹后重启</div><div>The block tree file is being locked by another program or is corrupted, please delete the workspace/temp/ folder and restart.</div>`)
|
`<div>块树文件正在被其他程序锁定或者已经损坏,请删除 工作空间/temp/ 文件夹后重启</div><div>The block tree file is being locked by another program or is corrupted, please delete the workspace/temp/ folder and restart.</div>`)
|
||||||
break
|
break
|
||||||
|
case 24:
|
||||||
|
showErrorWindow(
|
||||||
|
'⚠️ 工作空间已被锁定 The workspace is locked',
|
||||||
|
`<div>该工作空间正在被使用。</div><div>The workspace is in use.</div>`)
|
||||||
|
break
|
||||||
|
case 25:
|
||||||
|
showErrorWindow(
|
||||||
|
'⚠️ 创建工作空间目录失败 Failed to create workspace directory',
|
||||||
|
`<div>创建工作空间目录失败。</div><div>Failed to create workspace directory.</div>`)
|
||||||
|
break
|
||||||
case 0:
|
case 0:
|
||||||
case 1: // Fatal error
|
case 1: // Fatal error
|
||||||
break
|
break
|
||||||
|
@ -90,7 +90,7 @@ func initWorkspaceDirMobile(workspaceBaseDir string) {
|
|||||||
}
|
}
|
||||||
if oldConf && oldData && oldTemp {
|
if oldConf && oldData && oldTemp {
|
||||||
for _, entry := range entries {
|
for _, entry := range entries {
|
||||||
if "home" == entry.Name() {
|
if "home" == entry.Name() || "siyuan" == entry.Name() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user