mirror of
https://github.com/EndPwnArchive/endpwn3.git
synced 2024-08-15 00:23:30 +00:00
fuck
This commit is contained in:
parent
d31301bb50
commit
ed2dc53d8e
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
(() => {
|
||||
|
||||
// abort if we're not currently in the discord app
|
||||
if (location.hostname.indexOf('discordapp') != -1) return;
|
||||
if (location.hostname.indexOf('discordapp') == -1) return;
|
||||
|
||||
// use the discord native api to require electron and get electron.remote
|
||||
var electron = DiscordNative.nativeModules.requireModule('discord_/../electron').remote;
|
||||
|
|
Loading…
Reference in a new issue