electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.46k stars 1.71k forks source link

app-update.yml Not Generated When Using –prepackaged with .json Config in electron-builder #8266

Open maoryadin opened 2 weeks ago

maoryadin commented 2 weeks ago

Issue Details:

When using electron-builder with the --prepackaged option for a .json configuration file, the app-update.yml file is not generated. This issue occurs despite following the standard procedure for building and packaging the Electron application.

Steps to Reproduce:

1.  Create a .json configuration file for electron-builder.
2.  Run electron-builder with the --prepackaged option.(make sure app-update.yml is not exist in the .app)
3.  Observe that the app-update.yml file is not generated in the output directory.

Expected Behavior:

The app-update.yml file should be generated in the output directory when using the --prepackaged option with a .json configuration file.

Actual Behavior:

The app-update.yml file is not generated.

Additional Context:

the .app is generated with electron-forge and also do not include (make sense) an app-update.yml. it is look like it is just ignoring adding/modifying the Resource folder before packaging it to a .dmg file

Thank you for looking into this issue.