Merge pull request #1 from mkody/fix-mainjs-linux

Change linux path to use the $HOME/.config folder
This commit is contained in:
Nick Sarnie 2017-01-29 12:28:42 -05:00 committed by GitHub
commit ddda646afc
2 changed files with 4 additions and 104 deletions

View File

@ -13,7 +13,7 @@
let __fs = window.require("fs");
let __process = window.require("process");
let __platform = __process.platform;
let __dataPath = (__platform === 'win32' ? __process.env.APPDATA : __platform === 'darwin' ? __process.env.HOME + '/Library/Preferences' : '/var/local') + '/BetterDiscord/';
let __dataPath = (__platform === 'win32' ? __process.env.APPDATA : __platform === 'darwin' ? __process.env.HOME + '/Library/Preferences' : process.env.HOME + '/.config') + '/BetterDiscord/';
let __data = {};

104
js/main.min.js vendored

File diff suppressed because one or more lines are too long