我已经使用以下命令打包了我的Electron应用程序:
asar pack app app.asar现在,我需要解压它并找回完整的代码。有没有办法做到这一点?
发布于 2016-07-22 18:47:35
(这里使用npx是为了避免使用npm install -g asar全局安装asar工具)
解压整个归档文件:
npx asar extract app.asar destfolder 提取特定文件:
npx asar extract-file app.asar main.js发布于 2018-10-28 19:02:56
https://stackoverflow.com/questions/38523617
复制相似问题