diff --git a/lib/config.js b/lib/config.js
index <HASH>..<HASH> 100644
--- a/lib/config.js
+++ b/lib/config.js
@@ -78,7 +78,7 @@ var init = function() {
     }
     fs.writeFileSync(g_configPath, JSON.stringify({
       installDir: path.resolve(path.normalize(path.join(__dirname, ".."))),
-      gamesDir: path.resolve(path.normalize(path.join(__dirname, "..", "public", "games"))),
+      gamesDir: path.resolve(path.normalize(path.join(configDir, "games"))),
       options: [
         { name: "dns",          value: false, },
         { name: "private",      value: false, },
move default games dir to the config folder