diff options
author | Killswitch | 2020-09-14 23:38:03 +0200 |
---|---|---|
committer | Killswitch | 2020-09-14 23:38:03 +0200 |
commit | 1ab9ed74dec069771989c20a12954648aca6f075 (patch) | |
tree | 328bab374d5e4c19cbeb6b7a716351c2712e4fc7 /injector_main.js.patch | |
parent | ccfcdf6ff67d38c73a1d7dbbd03bf4e1cf8faea8 (diff) | |
download | aur-1ab9ed74dec069771989c20a12954648aca6f075.tar.gz |
Fixed the patch files, so it now works with newer versions
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; - } - |