Fix OSX Path
This commit is contained in:
parent
3eb646a5c0
commit
bb709a5352
|
@ -86,7 +86,7 @@ BetterDiscord.prototype.createAndCheckData = function(callback) {
|
|||
|
||||
//New data path
|
||||
//noinspection JSUnresolvedVariable
|
||||
_dataPath = _os == "win32" ? process.env.APPDATA : _os == 'darwin' ? process.env.HOME + 'Library/Preference' : '/var/local';
|
||||
_dataPath = _os == "win32" ? process.env.APPDATA : _os == 'darwin' ? process.env.HOME + '/Library/Preferences' : '/var/local';
|
||||
_dataPath += "/BetterDiscord";
|
||||
_userFile = _dataPath + "/user.json";
|
||||
|
||||
|
|
Loading…
Reference in New Issue