🐛 桌面端删除当前工作空间后报错 Fix https://github.com/siyuan-note/siyuan/issues/7035
This commit is contained in:
parent
cdb6077c3f
commit
7f82ea8fd7
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ func removeWorkspaceDir(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
if util.WorkspaceDir == path {
|
||||
if util.WorkspaceDir == path && (util.ContainerIOS == util.Container || util.ContainerAndroid == util.Container) {
|
||||
os.Exit(util.ExitCodeOk)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue