Describe the bug
When specifying multiple files or globs to be unpacked, only the last entry of the array is added to the final build. However, in dev such as using "conveyor run" it appears to work as expected.
To Reproduce
Steps to reproduce the behavior:
Specify multiple entries to unpack
Package the application "conveyor make app"
Open the output directory under "resources/app.asar.unpacked/"
See only the last entry such as either "node_modules" or "product.json"
Expected behavior
All entries should be available under the unpacked directory, in my case, a product.json, pwd.db, Prisma ".node" files, and the Prisma Scheme engine ".exe" file.
Screenshots
Here's the last entry commented out which shows the node files:
Here's the last entry uncommented which shows only the pwd.db file:
Desktop (please complete the following information):
OS: Windows 11
Browser: N/A
Version Conveyor 14.2
Npm: 10.8
Yarn: 14.1 (node-compat)
Additional context
I've also tried turning prune on and off which didn't change anything. It should be noted that individual additions using electron.asar.unpack += "..." does not produce the same output as an explicit array declaration. Instead, only the last array is produced in the JSON output.
Describe the bug When specifying multiple files or globs to be unpacked, only the last entry of the array is added to the final build. However, in dev such as using "conveyor run" it appears to work as expected.
To Reproduce Steps to reproduce the behavior:
Expected behavior All entries should be available under the unpacked directory, in my case, a product.json, pwd.db, Prisma ".node" files, and the Prisma Scheme engine ".exe" file.
Screenshots Here's the last entry commented out which shows the node files:
Here's the last entry uncommented which shows only the pwd.db file:
Desktop (please complete the following information):
Additional context
I've also tried turning prune on and off which didn't change anything. It should be noted that individual additions using
electron.asar.unpack += "..."
does not produce the same output as an explicit array declaration. Instead, only the last array is produced in the JSON output.However, explicit definition does of course work.