why is electron such a meme

This commit is contained in:
Cynthia Foxwell 2017-12-09 12:30:31 -07:00
parent 8d96f9cae4
commit 2ab935f127
1 changed files with 1 additions and 1 deletions

View File

@ -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 () {