diff --git a/etc/webview.txt b/etc/webview.txt new file mode 100644 index 00000000..f1421851 --- /dev/null +++ b/etc/webview.txt @@ -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" diff --git a/src/webview.go b/src/webview.go index 35e60502..7fead786 100644 --- a/src/webview.go +++ b/src/webview.go @@ -23,6 +23,7 @@ func main() { } } else { go ice.Run(web.SERVE, tcp.START) + defer ice.Pulse.Cmd(ice.EXIT) time.Sleep(time.Second) webview.Run(func(w *webview.WebView) ice.Any { return view{w} }) } diff --git a/src/webview.txt b/src/webview.txt deleted file mode 100644 index 1ed2d3ab..00000000 --- a/src/webview.txt +++ /dev/null @@ -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"