mirror of
https://github.com/EndPwnArchive/cynergy.git
synced 2024-08-14 22:46:57 +00:00
dont redefine variable i guess
This commit is contained in:
parent
13182c6dc3
commit
46bb5c6cee
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ var new_injector = function () {
|
|||
let latestver = dirlisting.filter(d=>d.indexOf("0.0.") > -1);
|
||||
let mainScreen = _fs.readFileSync(`${data()}/${latestver[latestver.length-1]}/modules/discord_desktop_core/app/mainScreen.js`);
|
||||
|
||||
mainScreen = mainScreen.write(`mainWindow.webContents.on('dom-ready', function () {require('../../../../cynergy/i.js').x(mainWindow)});//`, mainScreen.indexOf("mainWindow.webContents.on('dom-ready', function () {});\x0A\x0A // Prevent navigation whe"));
|
||||
mainScreen.write(`mainWindow.webContents.on('dom-ready', function () {require('../../../../cynergy/i.js').x(mainWindow)});//`, mainScreen.indexOf("mainWindow.webContents.on('dom-ready', function () {});\x0A\x0A // Prevent navigation whe"));
|
||||
|
||||
_fs.writeFileSync(`${data()}/${latestver[latestver.length-1]}/modules/discord_desktop_core/app/mainScreen.js`,mainScreen);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue