diff --git a/app/assets/js/configmanager.js b/app/assets/js/configmanager.js index 59c848c6..437fff10 100644 --- a/app/assets/js/configmanager.js +++ b/app/assets/js/configmanager.js @@ -4,7 +4,7 @@ const os = require('os') const path = require('path') const uuidV4 = require('uuid/v4') -const sysRoot = process.env.APPDATA || (process.platform == 'darwin' ? process.env.HOME + '/Library/Application Support' : '/var/local') +const sysRoot = process.env.APPDATA || (process.platform == 'darwin' ? process.env.HOME + '/Library/Application Support' : process.env.HOME) const dataPath = path.join(sysRoot, '.westeroscraft') const firstLaunch = !fs.existsSync(dataPath) diff --git a/package-lock.json b/package-lock.json index f7e09574..bcd08786 100644 --- a/package-lock.json +++ b/package-lock.json @@ -743,12 +743,12 @@ "resolved": "https://registry.npmjs.org/discord-rpc/-/discord-rpc-3.0.0-beta.10.tgz", "integrity": "sha512-b0G6O0WJkxoLQSopyNRqByXCrpBL68HXPMULVZXLjRgj+sStwOmbABM+HwBDJWF6s/uhkB/+cAgq+19x4w0SPA==", "requires": { - "discord.js": "github:discordjs/discord.js#a5e8f05d01e34b69b80736688704ee594b4d0900", + "discord.js": "github:discordjs/discord.js#a732402c95438f5ddda20958e5c1b2360500069a", "snekfetch": "^3.5.8" }, "dependencies": { "discord.js": { - "version": "github:discordjs/discord.js#a5e8f05d01e34b69b80736688704ee594b4d0900", + "version": "github:discordjs/discord.js#a732402c95438f5ddda20958e5c1b2360500069a", "from": "github:discordjs/discord.js", "requires": { "pako": "^1.0.0",