From 147880a848dd31a3265ffc60a16eccd4ee9d6713 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Mon, 16 Jan 2017 16:20:43 -0500 Subject: Change default path depending on platform --- steam/unix.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 steam/unix.go (limited to 'steam/unix.go') 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") -- cgit v1.2.3