|
node-v20.14.0-win-x86_plugins:
https://workupload.com/file/bALjUdRDLJp
1)
npm install -g asar
Go to an empty folder, copy your test.asar there
Make a new folder near test.asar with name test
asar extract app.asar test
2)
Install prettier (Prettier ยท Opinionated Code Formatter ) to beautify it!
npm install --g prettier
prettier --write test.js
In case you getting JavaScript heap out of memory, open a cmd and set this var for the session (tested with note v10.24.1)
set NODE_OPTIONS=--max-old-space-size=8192
3)
Make the changes you want then go back to root dir and pack the test folder to app.asar with
asar pack test app.asar
|