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

package main

import (
	"os"
	"path/filepath"
)

// DefaultLib path for the operating system in question
var DefaultLib string = filepath.Join(os.Getenv("HOME"),
	"Library/Application Support/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{"open", url}
}