mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
🎨 Improve exit
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
d1e6b203e6
commit
444b38aa26
1 changed files with 4 additions and 3 deletions
|
|
@ -335,9 +335,10 @@ func setWorkspaceDir(c *gin.Context) {
|
||||||
|
|
||||||
if util.ContainerAndroid == util.Container || util.ContainerIOS == util.Container || util.ContainerHarmony == util.Container {
|
if util.ContainerAndroid == util.Container || util.ContainerIOS == util.Container || util.ContainerHarmony == util.Container {
|
||||||
util.PushMsg(model.Conf.Language(42), 1000*15)
|
util.PushMsg(model.Conf.Language(42), 1000*15)
|
||||||
time.Sleep(time.Second * 1)
|
go func() {
|
||||||
|
time.Sleep(1 * time.Second)
|
||||||
model.Close(false, false, 1)
|
model.Close(false, false, 1)
|
||||||
time.Sleep(time.Second * 1)
|
}()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue