electron 2 test

This commit is contained in:
Cynthia Foxwell 2018-05-22 19:30:24 -06:00
parent 4dbde490cf
commit c6bb0b03b0

View file

@ -108,7 +108,9 @@
}
// temporary
if (branch != 'canary') {
try{
let a="a"; let b = "b"; ({...a,b});
}catch(e){
alert('EndPwn3.1 Staging uses crxpwn which only works on Canary at the moment', 'Sorry');
electron.getCurrentWindow().loadURL('https://' + (branch && branch != 'development' ? branch + '.' : '') + 'discordapp.com/channels/@me');
return;