How to unpack an .asar file?

白昼怎懂夜的黑 提交于 2019-11-28 17:09:35

From the asar documentation

(the use of npx here is to avoid to install the asar tool globally with npm install -g asar)

Extract the whole archive:

npx asar extract app.asar destfolder 

Extract a particular file:

npx asar extract-file app.asar main.js

It is possible to upack without node installed using the following 7Zip-plugin:
http://www.tc4shell.com/en/7zip/asar/

Thanks @MayaPosch for mentioning that.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!