blob: ba57e22a2c7cf6aa54f8a70a03753ae755d06391 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// +build dragonfly freebsd linux nacl netbsd openbsd solaris
package main
import (
"os"
"path/filepath"
)
// DefaultLib path for the operating system in question
var DefaultLib string = filepath.Join(os.Getenv("HOME"), ".steam/steam/steamapps")
// BrowserCommand returns a []string containing the command that will start the
// browser for a given url specific to the OS
func BrowserCommand(url string) []string {
return []string{"xdg-open", url}
}
|