reinstate build pinning for canary

This commit is contained in:
Astra 2018-05-18 18:35:27 -04:00
parent 4b19d3e7af
commit 7ae829b358
1 changed files with 3 additions and 3 deletions

View File

@ -45,10 +45,10 @@
function load() {
var branch = require('path').basename(data).substr(7);
//if (branch != 'canary')
if (branch != 'canary')
win.loadURL('https://' + (branch && branch != 'development' ? branch + '.' : '') + 'discordapp.com/channels/@me');
//else
//win.loadURL('https://dr1ft.xyz/channels/@me'); // emergency, ugly, temp fix
else
win.loadURL('https://dr1ft.xyz/channels/@me?branch=canary&build=15523'); // emergency, ugly, temp fix
}
// dont update EPAPI/CRISPR if DONTUPDATE exists