aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/windows.go
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2021-03-04 18:50:47 -0500
committerMitch Riedstra <mitch@riedstra.us>2021-03-04 18:50:47 -0500
commit3b6f5647b0689abf04be73c3cf00297051753435 (patch)
tree3de6871abf37849c1e9f86dfc90ee2b3ed74c66e /cmd/web/windows.go
parenteaf02771d767e4745572d9b00e71e138ee030e60 (diff)
downloadsteam-export-3b6f5647b0689abf04be73c3cf00297051753435.tar.gz
steam-export-3b6f5647b0689abf04be73c3cf00297051753435.tar.xz
Refactor. Pull most of the functions into methods off of an App struct.
Kill most global variables.
Diffstat (limited to 'cmd/web/windows.go')
-rw-r--r--cmd/web/windows.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/web/windows.go b/cmd/web/windows.go
index 034e347..f59761a 100644
--- a/cmd/web/windows.go
+++ b/cmd/web/windows.go
@@ -10,8 +10,7 @@ import (
var DefaultLib string = `C:\Program Files (x86)\Steam\steamapps`
func startBrowser() {
- time.Sleep(time.Second*3)
+ time.Sleep(time.Second * 3)
c := exec.Command("cmd", "/c", "start", "http://127.0.0.1"+Listen)
Logger.Printf("Running command: %s", c.Run())
}
-