node-packer
node-packer copied to clipboard
is asset files supported?
if the node app use a resource file(such as a png or a csv file) with fs, does the nodec bundle them and the output exe can work on an new machine without these resource files?
Yes
but failed in my test. even the read_file1 function. node_app.zip
in my opinion, it seems nodec bundle all the files in the 'cwd' in to '/enclose_io_memfs', is that right? if so, how to access the files in the bundle?
That is correct. You could access it like this: fs.readdirSync('/__enclose_io_memfs__')
.