You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @todo: verify if there is nothing in discord_desktop_core as well
18
18
* @todo: prompt to automatically uninject and continue
19
19
*/
20
-
console.log('Looks like you already have an injector in place. Try unplugging (`npm run unplug`) and try again.','\n');
21
-
console.log(`${AnsiEscapes.YELLOW}NOTE:${AnsiEscapes.RESET} If you already have BetterDiscord or another client mod injected, Powercord cannot run along with it!`);
22
-
console.log('Read our FAQ for more details: https://powercord.dev/faq#bd-and-pc');
20
+
console.log(
21
+
"Looks like you already have an injector in place. Try unplugging (`npm run unplug`) and try again.",
22
+
"\n"
23
+
);
24
+
console.log(
25
+
`${AnsiEscapes.YELLOW}NOTE:${AnsiEscapes.RESET} If you already have BetterDiscord or another client mod injected, Powercord cannot run along with it!`
26
+
);
27
+
console.log(
28
+
"Read our FAQ for more details: https://powercord.dev/faq#bd-and-pc"
29
+
);
30
+
returnfalse;
31
+
}
32
+
33
+
try{
34
+
awaitmkdir(appDir);
35
+
}catch(err){
36
+
console.log(
37
+
"It appears that your Discord Canary installation is broken. Try reinstalling and run again.",
38
+
"\n"
39
+
);
40
+
console.log(
41
+
`${AnsiEscapes.YELLOW}NOTE:${AnsiEscapes.RESET} This issue has been known to happen using non-official Discord Canary installs. Try using the official package if you're not already.`
0 commit comments