mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
e0b085b32c
commit
3bfac6e81e
@ -22,11 +22,11 @@ func main() {
|
|||||||
if ice.Run(cli.SYSTEM, os.Args[0], "webview"); cli.IsSuccess(ice.Pulse) {
|
if ice.Run(cli.SYSTEM, os.Args[0], "webview"); cli.IsSuccess(ice.Pulse) {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
time.Sleep(time.Second)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
go ice.Run(web.SERVE, tcp.START)
|
go ice.Run(web.SERVE, tcp.START)
|
||||||
defer ice.Pulse.Cmd("exit")
|
defer ice.Pulse.Cmd("exit")
|
||||||
time.Sleep(time.Second)
|
|
||||||
webview.Run(func(w *webview.WebView) ice.Any { return view{w} })
|
webview.Run(func(w *webview.WebView) ice.Any { return view{w} })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user