diff options
Diffstat (limited to 'injector_main.js.patch')
-rw-r--r-- | injector_main.js.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/injector_main.js.patch b/injector_main.js.patch index 56cd83fd8333..1e1af3466df7 100644 --- a/injector_main.js.patch +++ b/injector_main.js.patch @@ -1,11 +1,11 @@ ---- ../powercord/injectors/main.js 2020-08-14 23:38:07.596542247 +0200 -+++ ./main.js 2020-08-15 13:46:16.208269548 +0200 -@@ -9,7 +9,7 @@ - exports.inject = async ({ getAppDir }) => { - const appDir = await getAppDir(); - if (await exists(appDir)) { -- console.log('Looks like you already have an injector in place. Try uninjecting (`npm run unplug`) and try again.'); +--- powercord/injectors/main.js 2020-09-14 22:56:56.715990496 +0200 ++++ ./main.js.patched 2020-09-14 23:34:13.970823525 +0200 +@@ -17,7 +17,7 @@ + * @todo: verify if there is nothing in discord_desktop_core as well + * @todo: prompt to automatically uninject and continue + */ +- console.log('Looks like you already have an injector in place. Try unplugging (`npm run unplug`) and try again.', '\n'); + console.log('Looks like you already have an injector in place. Try uninjecting (`powercord uninject`) and try again.'); + console.log(`${AnsiEscapes.YELLOW}NOTE:${AnsiEscapes.RESET} If you already have BetterDiscord or another client mod injected, Powercord cannot run along with it!`); + console.log('Read our FAQ for more details: https://powercord.dev/faq#bd-and-pc'); return false; - } - |