1
0
forked from x/ContextOS
This commit is contained in:
harveyshao 2022-10-15 23:18:17 +08:00
parent 1f6b4942dd
commit 32f4d8fa8e
3 changed files with 5 additions and 3 deletions

4
etc/webview.txt Normal file
View File

@ -0,0 +1,4 @@
shylinux https://shylinux.com
localhost http://localhost:9020
vimer "http://localhost:9020/chat/cmd/web.code.vimer?path=src/,usr/icebergs/,usr/volcanos/&file=main.go"
plan "http://localhost:9020/chat/cmd/web.team.plan"

View File

@ -23,6 +23,7 @@ func main() {
} }
} else { } else {
go ice.Run(web.SERVE, tcp.START) go ice.Run(web.SERVE, tcp.START)
defer ice.Pulse.Cmd(ice.EXIT)
time.Sleep(time.Second) 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} })
} }

View File

@ -1,3 +0,0 @@
shylinux https://shylinux.com
localhost http://localhost:9020
vimer "http://localhost:9020/chat/cmd/web.code.vimer?topic=black&path=src/,usr/icebergs/,usr/volcanos/&file=main.go"