support development branch

This commit is contained in:
Astra 2018-05-06 20:21:43 -04:00
parent ce6280459d
commit 6c1a27fd17

View file

@ -45,7 +45,7 @@
function load() {
var branch = require('path').basename(data).substr(7);
win.loadURL('https://' + (branch ? branch + '.' : '') + 'discordapp.com/channels/@me');
win.loadURL('https://' + (branch && branch != 'development' ? branch + '.' : '') + 'discordapp.com/channels/@me');
}
// dont update EPAPI/CRISPR if DONTUPDATE exists