reinstate build pinning for canary

This commit is contained in:
Astra 2018-05-18 18:35:27 -04:00
parent 4b19d3e7af
commit 7ae829b358

View file

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