From 2ab935f127c9be1da6193ffc6af6744bd59718e6 Mon Sep 17 00:00:00 2001 From: Flex Date: Sat, 9 Dec 2017 12:30:31 -0700 Subject: [PATCH] why is electron such a meme --- channels/@me/cynergy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/@me/cynergy.js b/channels/@me/cynergy.js index 94ad2ff..5065571 100644 --- a/channels/@me/cynergy.js +++ b/channels/@me/cynergy.js @@ -29,7 +29,7 @@ var cacheclear = function () { var cleanup = function () { let dir = approot().split('app.asar')[0].replace(/\\/g,"/"); - _win.loadURL(`https://${(dir.toLowerCase().indexOf("discordcanary") > -1 && "canary.") || (dir.toLowerCase().indexOf("discordptb") > -1 && "ptb.") || ""}discordapp.com/channels/@me`); + window.location.replace(`https://${(dir.toLowerCase().indexOf("discordcanary") > -1 && "canary.") || (dir.toLowerCase().indexOf("discordptb") > -1 && "ptb.") || ""}discordapp.com/channels/@me`); } var setup = function () {