aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2017-01-06 18:06:34 -0500
committerMitch Riedstra <mitch@riedstra.us>2017-01-06 18:06:34 -0500
commitdaa78703abcd467936fb498a1ca4deb85a2fe419 (patch)
tree3105a06622c45413d93b92cf3ff83fd02f204b09 /main.go
parentc5d68db9fb5f831106ce3eb12048e8f9005e531b (diff)
downloadsteam-export-daa78703abcd467936fb498a1ca4deb85a2fe419.tar.gz
steam-export-daa78703abcd467936fb498a1ca4deb85a2fe419.tar.xz
Added an archive library and ability to package steam games
Diffstat (limited to 'main.go')
-rw-r--r--main.go24
1 files changed, 13 insertions, 11 deletions
diff --git a/main.go b/main.go
index 4fec4df..617be4d 100644
--- a/main.go
+++ b/main.go
@@ -4,6 +4,8 @@ import (
"fmt"
"git.riedstra.us/mitch/steam-export/config"
"git.riedstra.us/mitch/steam-export/steam"
+
+ "os"
)
func main() {
@@ -21,16 +23,16 @@ func main() {
fmt.Println(libs)
}
- // fmt.Println(libs[0].Games[20])
-
- /*
- str, err := libs[0].FindACF(libs[0].Games[20])
- // str, err := libs[0].FindACF("/.")
- if err != nil {
- fmt.Println(err)
- } else {
- fmt.Println(str)
- }
- */
+ fmt.Println("------")
+
+ fmt.Println(libs[0].Games[0])
+
+ working_dir, _ := os.Getwd()
+ fmt.Println(working_dir)
+
+ // vvvvvvv
+ // _ = libs[0].PackageGame(libs[0].Games[0])
+ // Duke Nukem 3d
+ _ = libs[2].PackageGame(libs[2].Games[8])
}