-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
qcif/data-curator
#563Description
New changes to asar archiving in 5.x.x leads to an incorrect/corrupt win-unpacked/resources/app.asar when "build" : { "asar" : true } on Windows.
Hence, when the app is opened via Setup.exe (or app.exe) you get the exception "Error: Unable to find a valid app" in the main process. This is expected as app.asar is corrupt (only a few kB, normally ~5MB).
If I set asar: false, everything works.
Last known working version with asar: true was 4.2.6.
Note: I inspected the corrupt app.asar in vscode and it showed the directory/file structure to be correct, but the files were empty (or appeared as directories instead of files).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels