-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[question] How can I test auto updater flow? #3053
Comments
and pass these options to override publish config:
Set env as you want — or pass as part of run command (on Windows use Replace Keep in mind that on each build channel file (latest.yml) will be updated It means that if you test upgrade and build lower version (1.0) every time but higher version (1.1) only once, you must backup channel file after build of higher version and copy every time after build of lower version otherwise, obviously, you will get "no update available". @AoDev If you can transform my comment to doc, it will be great :) |
Do not worry about it. You test not electron-updater, but your app. If updater is able to perform last final step, it means that your code is correct.
Well, simply disable auto download and do whatever you want :) |
@develar Thanks for your explanations. When I manage to make this work I'll make something for the docs. |
Following your instructions with Minio,
|
It means that you probably didn't set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY env variables correctly. |
Actually, it was the |
It should be noted here that you must add a Read policy on the minio in order for it to be accessible from electron. Without it you will get Access Denied errors. See #2233 (comment) |
Do I need to sign my app or the OS/app will block the update? for 3 days I've been trying to get it work on a private github repo following the instructions and it just doesn't work, is because of this? I don't have any certificate building for windows 10. |
Ya, I spent all day yesterday just creating builds to test the electron-progressbar with the auto-update, which... was awful. Has anyone figured out a better way to test the auto-updater? |
For anyone looking at this, just my two cents here. Tried Minio and the other suggested options like dev yaml and it's like develar says, auto update is not meant to be tested locally. The behavior is far off from what you get in production. |
Can anyone explain:
I'm not understanding. I don't see any keys. Maybe this part is outdated? |
Refs: - Testing auto updates electron-userland/electron-builder#3053 - electron-userland/electron-builder#1505 - electron-userland/electron-builder#1393
Version
Target
This is a question I posted on Stackoverflow.
Not receiving answers I wanted to "proxy" it here, I hope it's fine, let me know.
The goal is to understand and extend the docs section auto-update debugging. I am copying the question here but feel free to answer it on Stackoverflow.
The text was updated successfully, but these errors were encountered: