This commit is contained in:
Astra 2018-04-23 05:57:08 -04:00
parent d31301bb50
commit ed2dc53d8e
1 changed files with 1 additions and 1 deletions

View File

@ -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;