more fixes
This commit is contained in:
parent
3e291361e1
commit
9150717528
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue