electron / forge

:electron: A complete tool for building and publishing Electron applications
https://electronforge.io
MIT License
6.32k stars 489 forks source link

fix(maker-squirrel): only push `delta` artifacts if they exist on disk #3586

Closed hipstersmoothie closed 1 month ago

hipstersmoothie commented 1 month ago

The logic here I think is wrong. It adds the -delta file to artifacts even if it doesn't exist. This will cause --from-dry-run to fail. I think electron installer might not always produce a delta file.

Given the logic below for the msi that check the file exists before adding it, that made sense to do here to.