🎨 Improve exit

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-09 11:43:04 +08:00
parent d1e6b203e6
commit 444b38aa26
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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() {
model.Close(false, false, 1) time.Sleep(1 * time.Second)
time.Sleep(time.Second * 1) model.Close(false, false, 1)
}()
} }
} }