Skip to content
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

Fix and improve auto update #49

Merged
merged 26 commits into from
Nov 5, 2020
Merged

Fix and improve auto update #49

merged 26 commits into from
Nov 5, 2020

Conversation

fdaveine
Copy link
Contributor

@fdaveine fdaveine commented Oct 27, 2020

Fixes #4

  • Auto-update can now only occurred when app start, before user can use it
  • A splash screen with a loader is shown to user during the update process
  • Add an advanced menu (hidden by default on Linux and Windows, hit Alt to show it) which allow user to find log files easily and to enable DEBUG (log level) mode
  • Simplify CI update release process

Useful links:

https://stackoverflow.com/questions/51003995/how-can-i-test-electron-builder-auto-update-flow
electron-userland/electron-builder#3053
electron-userland/electron-builder#3753 (comment)
electron-userland/electron-builder#1505
electron-userland/electron-builder#2521 (comment)

@fdaveine fdaveine added the bug label Oct 27, 2020
@fdaveine fdaveine added this to the v0.2.x milestone Oct 27, 2020
@fdaveine fdaveine self-assigned this Oct 27, 2020
@fdaveine fdaveine changed the title Try to fix auto update Fix and improve auto update Nov 2, 2020
@fdaveine
Copy link
Contributor Author

fdaveine commented Nov 2, 2020

@antoinelibert to review plz
Additionally could you test the update process on Windows by following the steps in README.md > #### Debug update process (maybe README.md need to be completed with Windows only steps).

… event listener were setup by `SplashScreenPage.vue` > `mounted`, add catch block for unhandled exception coming from `autoUpdater.checkForUpdates()` in `src/main/index.js`
@fdaveine fdaveine merged commit 9acefbe into master Nov 5, 2020
@fdaveine fdaveine deleted the fix-auto-update branch November 5, 2020 10:43
@fdaveine fdaveine modified the milestones: v0.2.x, v0.2.2 Nov 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto update may occur during import
2 participants