diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2017-01-06 18:06:34 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2017-01-06 18:06:34 -0500 |
| commit | daa78703abcd467936fb498a1ca4deb85a2fe419 (patch) | |
| tree | 3105a06622c45413d93b92cf3ff83fd02f204b09 /main.go | |
| parent | c5d68db9fb5f831106ce3eb12048e8f9005e531b (diff) | |
| download | steam-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.go | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -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]) } |
