Posts

Showing posts with the label asar

ASAR: how to unpack a .asar file?

ASAR: how to unpack a .asar file? I have packed my electron application using follwoing command asar pack app app.asar Now, I need to unpack it and get the whole code back. Is there anyway to do so? 1 Answer 1 From asar documentation asar extract app.asar destfolder asar extract-file app.asar main.js The electron docs say: "you can also package your app into an asar archive to avoid exposing your app's source code to users." but it is not true if you are then able to unpack it? right?? – neoDev Dec 10 '16 at 13:21 Side note: you can install the command with npm install -g asar . – Mike Chamberlain Apr 2 '17 at 9:16 ...