mirror of
https://github.com/EndPwnArchive/cynergy.git
synced 2024-08-14 22:46:57 +00:00
thanks for reverting the file structure on canary
This commit is contained in:
parent
9f2dc9d423
commit
06aba8418c
1 changed files with 2 additions and 2 deletions
|
@ -49,13 +49,13 @@ var setup = function () {
|
||||||
logging.innerText += "Cynergy is not installed\n";
|
logging.innerText += "Cynergy is not installed\n";
|
||||||
logging.innerText += "Injecting dom-ready listener into app.asar\n";
|
logging.innerText += "Injecting dom-ready listener into app.asar\n";
|
||||||
try {
|
try {
|
||||||
if(_discord_branch.toLowerCase().indexOf("discordcanary") > -1 || _discord_branch.toLowerCase().indexOf("discorddevelopment") > -1){
|
if(_discord_branch.toLowerCase().indexOf("discorddevelopment") > -1){
|
||||||
new_injector();
|
new_injector();
|
||||||
}else{
|
}else{
|
||||||
asarpwn();
|
asarpwn();
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if(_discord_branch.toLowerCase().indexOf("discordcanary") > -1 || _discord_branch.toLowerCase().indexOf("discorddevelopment") > -1){
|
if(_discord_branch.toLowerCase().indexOf("discorddevelopment") > -1){
|
||||||
logging.innerText += "New injector failed.\n";
|
logging.innerText += "New injector failed.\n";
|
||||||
logging.innerText += `${e}\n`;
|
logging.innerText += `${e}\n`;
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in a new issue