why is electron such a meme
This commit is contained in:
parent
8d96f9cae4
commit
2ab935f127
|
@ -29,7 +29,7 @@ var cacheclear = function () {
|
||||||
|
|
||||||
var cleanup = function () {
|
var cleanup = function () {
|
||||||
let dir = approot().split('app.asar')[0].replace(/\\/g,"/");
|
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 () {
|
var setup = function () {
|
||||||
|
|
Loading…
Reference in New Issue