mirror of
https://github.com/EndPwnArchive/cynergy.git
synced 2024-08-14 22:46:57 +00:00
why is electron such a meme
This commit is contained in:
parent
8d96f9cae4
commit
2ab935f127
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue