App-update.yml is missing in NSIS builds
See original GitHub issue- Version: electron-builder: 20.3.1 electron-updater: 2.21.0 electron-publisher-s3: 20.2.0
- Target: NSIS
- Notes
Error from logs:
No such file or directory, open C:...\resources\app-update.yml
. I’ve read a lot of related issues, but still suffer from this issue on windows with NSIS target. For mac with default target file is created successfully.
My build config:
productName: PRODUCT_NAME,
appId: APP_ID,
artifactName: '${productName}.${ext}', // eslint-disable-line no-template-curly-in-string
directories: {
app: paths.dist(),
buildResources: paths.project('resources-pack'),
output: paths.outputs(),
},
// OSX paltform:
mac: {
icon: BETA ? 'icon-beta.icns' : 'icon.icns',
publish: {
provider: 's3',
bucket: 'mybucket',
path: `desktop/macos`,
region: 'us-east-1',
},
},
dmg: {
...
},
// Windows platform:
win: {
icon: BETA ? 'icon-beta.icns' : 'icon.icns',
},
nsis: {
publish: {
provider: 's3',
bucket: 'mybucket',
path: `desktop/windows`,
region: 'us-east-1',
},
},
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Problem with app update yml files is not generated in electron?
If you have a problem with missing app-update.yml and dev-app-update.yml then paste the following code into index.js:
Read more >Auto Update - electron-builder
electron-builder automatically creates app-update.yml file for you on build in the resources (this file is internal, you don't need to be aware of...
Read more >Problem with app update yml files is not generated in electron?
I have a problem with the auto-update of electron app, After I finished all the app parts and I am trying to push...
Read more >Appendix G: Building NSIS - SourceForge
The build system can build the entire NSIS package so you no longer need to build it project by project. It allows building...
Read more >electron-publish | Yarn - Package Manager
${arch} missing from app-update.yml (77558e6), closes #1389; Builds fail on building .deb using packaged fpm on Travis (037fba6), closes #1402 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, I have this problem, I do everything in the documentation, now I did it like that, but even so it keeps saying that there was no finder “app-update.yml” when the Build was generated, I don’t know what else to do. I’m using Linux x64
The issue was fixed by adding
publish
property towin
config. Butpublish
is not available inwin
according the docs. Even though, providingpublish
tonsis
must be enough for successful creation ofapp-update.yml
fornsis
target