HyperPlay-Gaming / hyperplay-desktop-client

The HyperPlay desktop app
https://hyperplay.xyz
GNU General Public License v3.0
79 stars 31 forks source link

[UX] Improvements to Update modal on the Store #1108

Closed flavioislima closed 1 month ago

flavioislima commented 1 month ago

Since we got some feedback from users and devs that are not aware of the auto update and thinks that they always need to download the update manually.

It adds 2 new IPC calls that will be used from the store to check the current update status that can be updating, updated or idle (fallback). Depending on the state we show a different message and action on the store. If updating, it is possible to close the modal. If has updated, a button to restart the client is shown. If idle, we go back to the current behavior of showing the URL to download.

Also, re-enabled the autoInstallOnAppQuit option. I think was false by mistake.

Store changes: https://github.com/HyperPlay-Gaming/hyperplay-store/pull/223

How to test

Screenshots

image image


Use the following Checklist if you have changed something on the Backend or Frontend:

flavioislima commented 1 month ago

Yeah, I wonder if updating electron-updater will fix some of the bugs on the electron side. I will continue to improve this flow on future PRs.

github-actions[bot] commented 1 month ago

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

flavioislima commented 1 month ago

I have read the CLA Document and I hereby sign the CLA

flavioislima commented 1 month ago

recheck

flavioislima commented 1 month ago

I have read the CLA Document and I hereby sign the CLA

flavioislima commented 1 month ago

I have read the CLA Document and I hereby sign the CLA