From 91507175280c3e722363befa0fe1459bdd29858c Mon Sep 17 00:00:00 2001 From: Flex Date: Sat, 9 Dec 2017 11:21:48 -0700 Subject: [PATCH] more fixes --- channels/@me/cynergy.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/channels/@me/cynergy.js b/channels/@me/cynergy.js index 5e71ebb..b332272 100644 --- a/channels/@me/cynergy.js +++ b/channels/@me/cynergy.js @@ -96,8 +96,10 @@ var asarpwn = function() { }; var asarunpwn = function() { + logging = document.getElementById('logger'); + logging.innerText += "\nUndoing asarpwn...\n"; var bdata = new Buffer(fs.readFileSync(remote.app.getAppPath())); - bdata.write("mainWindow.webContents.on('dom-ready', function () {});\x0A\x0A // Prevent navigation whe", bdata.indexOf("mainWindow.webContents.on('dom-ready', function () {require('../i').x(mainWindow)});//")); + bdata.write("mainWindow.webContents.on('dom-ready', function () {});\x0A\x0A // Prevent navigation whe", bdata.indexOf("mainWindow.webContents.on('dom-ready', function () {require('./cynergy/i').x(mainWindow)});//")); fs.writeFileSync(remote.app.getAppPath(), bdata); }