thanks for reverting the file structure on canary

This commit is contained in:
Cynthia Foxwell 2017-12-15 16:33:37 -07:00
parent 9f2dc9d423
commit 06aba8418c

View file

@ -49,13 +49,13 @@ var setup = function () {
logging.innerText += "Cynergy is not installed\n";
logging.innerText += "Injecting dom-ready listener into app.asar\n";
try {
if(_discord_branch.toLowerCase().indexOf("discordcanary") > -1 || _discord_branch.toLowerCase().indexOf("discorddevelopment") > -1){
if(_discord_branch.toLowerCase().indexOf("discorddevelopment") > -1){
new_injector();
}else{
asarpwn();
}
} 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 += `${e}\n`;
}else{