Electron Packager question


#1

I’ve been exploring the Electron Packager recently and have noticed all sub-directories within my application directory have been archived when the --asar flag is used. How do I specify certain directories to not be added to archive ? For example if I want a data directory in my app to be viewable to users so text files can be copied there for processing.

thanks in advance,


#2

Solved …

Created separate directory for data files and pointed the fs functions within my application to that.

thanks,