You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project, which has a script to deal with ASAR format. In this proejct, I have generated compiled files suck as main.js, preload.js, ..., as well as the package.json, etc. Those files contents are in memory. I need to generate the ASAR archive based on those files and then send the archive to other prorgrams.
Currently, I have to create a tmp dir, write the assets files to the tmp dir, then use @electron/asar to package the ASAR archive and read this ASAR file. And finally delete all those stuff. This is very ugly and annoying.
As the official low level library to deal with ASAR format, you should provide APIs to pack/unpack/list ASAR purely in memory.
The text was updated successfully, but these errors were encountered:
I have a project, which has a script to deal with ASAR format. In this proejct, I have generated compiled files suck as main.js, preload.js, ..., as well as the package.json, etc. Those files contents are in memory. I need to generate the ASAR archive based on those files and then send the archive to other prorgrams.
Currently, I have to create a tmp dir, write the assets files to the tmp dir, then use @electron/asar to package the ASAR archive and read this ASAR file. And finally delete all those stuff. This is very ugly and annoying.
As the official low level library to deal with ASAR format, you should provide APIs to pack/unpack/list ASAR purely in memory.
The text was updated successfully, but these errors were encountered: