Auto-updater with Amazon S3
See original GitHub issue- electron-builder v14.5.2
- electron-updater v1.7.1
I’m having trouble setting the auto update process. I’m publishing my artifact on Amazon S3 correctly (and the auto-generated latest.yml as well). The folders are public.
I followed the wiki on how to implement the Auto-Updater and I see that I have the app-update.yml file in my resources folder, but when I start my application I get the
Checking for update…
message, but then I get no response about if there is an update available or not.
The latest.yml file contains the following fields:
version: 1.0.0
releaseDate: '2017-02-28T10:52:24.778Z'
githubArtifactName: my-Setup-1.0.0.exe
path: my_Setup_1.0.0.exe
sha2: 5a7459ca7bf33808e43803df72961584124ec42d28a2343d1bf62d4006c258e7
while the app-update.yml file in my resources folder contains:
provider: s3
bucket: my_bucket_name
path: path/to/my/files
The package.json looks like this:
...
"win": {
"icon": "./img/icon.ico",
"target": [
"nsis"
],
"publish": {
"provider": "s3",
"bucket": "my_bucket_name",
"path": "path/to/my/files"
}
},
"nsis": {
"artifactName": "${productName}_Setup_${version}.${ext}",
"installerIcon": "./img/installer_logo.ico"
},
...
What am I doing wrong?
Issue Analytics
- State:
- Created 7 years ago
- Comments:32 (16 by maintainers)
Top Results From Across the Web
Automatic updates in Electron using Amazon S3 - Brainio Blog
It works with the electron-builder package and uses Amazon S3 as an auto update server. The post also shows how to code sign...
Read more >Use amazon s3 with electron-builder's auto updater [closed]
How can I use electron-builder's auto-update feature with Amazon S3 in my electron app? Maybe someone who has already implemented it, ...
Read more >Auto Updater does not work for Amazon S3 private Bucket
In your main process all you need to do is import autoUpdater without any config. This way no AWS keys leave your development...
Read more >S3 - Electron Forge
How to publish your distributable Electron app artifacts to Amazon S3. ... The S3 target publishes your Make artifacts to an Amazon S3...
Read more >update-electron-s3 - npm.io
Package to apply auto-update for an electron application using s3 amazon service. Powered by the free and open-source update.electronjs.org service.
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
Gosh, this should be somewhere in the documentation. I’ve been banging my head to find why the
latest-mac.json
was not published when I removed thezip
target.This zip is required for Squirrel.Mac. So, you must use it and it will be uploaded. Sadly, but true.