Questions
Tags
I have packed my Electron application using the following command:
asar pack app app.asar
Now, I need to unpack it and get the whole code back. Is there any way to do so?
This question is related to node.js electron asar
node.js
electron
asar
From the asar documentation
(the use of npx here is to avoid to install the asar tool globally with npm install -g asar)
npx
npm install -g asar
npx asar extract app.asar destfolder
npx asar extract-file app.asar main.js