aboutsummaryrefslogtreecommitdiff
path: root/steam
diff options
context:
space:
mode:
Diffstat (limited to 'steam')
-rw-r--r--steam/unix.go10
-rw-r--r--steam/windows.go3
2 files changed, 13 insertions, 0 deletions
diff --git a/steam/unix.go b/steam/unix.go
new file mode 100644
index 0000000..caa4b43
--- /dev/null
+++ b/steam/unix.go
@@ -0,0 +1,10 @@
+// +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris
+
+package steam
+
+import (
+ "os"
+ "path/filepath"
+)
+
+var DefaultLib string = filepath.Join(os.Getenv("HOME"), ".steam/steam/steamapps")
diff --git a/steam/windows.go b/steam/windows.go
new file mode 100644
index 0000000..215d1d7
--- /dev/null
+++ b/steam/windows.go
@@ -0,0 +1,3 @@
+package steam
+
+var DefaultLib string = `C:\Program Files (x86)\Steam\steamapps`