From c6bb0b03b0db71de629953c3eb2ddb0e3e9c983f Mon Sep 17 00:00:00 2001 From: Flex Date: Tue, 22 May 2018 19:30:24 -0600 Subject: [PATCH] electron 2 test --- app/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/index.html b/app/index.html index dbbcb83..8f2c6e2 100644 --- a/app/index.html +++ b/app/index.html @@ -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;