mirror of
https://github.com/EndPwnArchive/cynergy.git
synced 2024-08-14 22:46:57 +00:00
forgot to write file back
This commit is contained in:
parent
63286680d5
commit
d518795226
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ var new_injector = function () {
|
|||
let mainScreen = _fs.readFileSync(`${data()}/${latestver[latestver.length-1]}/modules/discord_desktop_core/app/mainScreen.js`);
|
||||
|
||||
mainScreen = mainScreen.replace(" // TODO: why do we listen to this?\n mainWindow.webContents.on('dom-ready', function () {});"," // Thank you for using Cynergy c:\n mainWindow.webContents.on('dom-ready', function () {require('${data().replace(/\\/g,"/") + '/cynergy/i.js'}').x(mainWindow)});");
|
||||
|
||||
_fs.writeFileSync(`${data()}/${latestver[latestver.length-1]}/modules/discord_desktop_core/app/mainScreen.js`,mainScreen);
|
||||
}
|
||||
|
||||
var asarpwn = function() {
|
||||
|
|
Loading…
Reference in a new issue