This commit is contained in:
Astra 2018-05-07 23:38:49 -04:00
parent 3e3ca12e10
commit bb9af0b91d
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
try {
// fix for recent canary update
if (require === undefined) {
if (window.require === undefined) {
window.electron = DiscordNative.nativeModules.requireModule("discord_/../electron").remote;
window.require = electron.require;
} else {