diff options
Diffstat (limited to 'cmd/web/windows.go')
| -rw-r--r-- | cmd/web/windows.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cmd/web/windows.go b/cmd/web/windows.go index 2effa08..9fe8ab6 100644 --- a/cmd/web/windows.go +++ b/cmd/web/windows.go @@ -2,4 +2,16 @@ package main +import ( + "os/exec" + "time" +) + var DefaultLib string = `C:\Program Files (x86)\Steam\steamapps` + +func startBrowser() { + time.Sleep(time.Second*3) + c := exec.Command("cmd", "/c", "start", "http://127.0.0.1"+Listen) + Logger.Println(c.Run()) +} + |
