aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/windows.go
blob: f59761a9703cf22fa4615b4ce4c1404b9e982570 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// +build windows

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.Printf("Running command: %s", c.Run())
}