Merge pull request #443 from NooB-AssassinZ3/patch-1
Fixing error in Linux
This commit is contained in:
commit
b6e2ca2670
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue