Merge pull request #443 from NooB-AssassinZ3/patch-1

Fixing error in Linux
This commit is contained in:
Jiiks 2017-02-05 16:38:18 +02:00 committed by GitHub
commit b6e2ca2670
1 changed files with 3 additions and 3 deletions

View File

@ -24,8 +24,8 @@ var _cfg;
// Default configs if for some reason we don't receive config params
const _defaults = {
installPath: (_os.platform() === 'win32' ? process.env.APPDATA : _os.platform() === 'darwin' ? `${process.env.HOME}/Library/Preferences`: `/var/local`) + '/BetterDiscord/lib/',
dataPath: (_os.platform() === 'win32' ? process.env.APPDATA : _os.platform() === 'darwin' ? `${process.env.HOME}/Library/Preferences`: `/var/local`) + '/BetterDiscord/data/',
installPath: (_os.platform() === 'win32' ? process.env.APPDATA : _os.platform() === 'darwin' ? `${process.env.HOME}/Library/Preferences`: `/var/local`) + '/BetterDiscord/lib',
dataPath: (_os.platform() === 'win32' ? process.env.APPDATA : _os.platform() === 'darwin' ? `${process.env.HOME}/Library/Preferences`: `/var/local`) + '/BetterDiscord/data',
emotesEnabled: true
};
@ -105,4 +105,4 @@ class Core {
}
exports.BetterDiscord = Core;
exports.BetterDiscord = Core;