1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-13 18:21:51 +00:00

Merge branch 'modloader' of github.com:tobspr/shapez.io into modloader

This commit is contained in:
tobspr 2022-01-14 10:14:53 +01:00
commit 0e2113a9da

View File

@ -17,7 +17,7 @@ const roamingFolder =
? process.env.HOME + "/Library/Preferences"
: process.env.HOME + "/.local/share");
let storePath = path.join(roamingFolder, "shapez.io", "saves");
let modsPath = path.join(app.getAppPath(), "mods");
let modsPath = path.join(path.dirname(app.getPath("exe")), "mods");
if (!fs.existsSync(storePath)) {
// No try-catch by design