As discussed I moved with auto-update of pgAdmin 4 application in macOs system locally. It is successful.
So now I have to do some additional user experience improvements.
Listing down some ways we can show the user that a new version is available and he can download and install it.
Option 1:
Show a dialog with the released features and fixes(mentioned in the release note) with "Download & Restart" and "Cancel" buttons. This dialog will be shown only when the application starts for the first time of the day.
Benefits of showing this dialog will help users to know about the new features and bugs fixed available in the latest version.
"Download & Restart" button will download the latest version and quit the app and install and open the latest app. "Cancel" will cancel the notification.
Option 2:
We are currently showing a warning notification of the latest version available, if the older version is being used by the user, we can add "Download & Restart" and "Cancel" buttons. And those buttons will work the way they are working in Option 1.
Additionally we will add "Check for updates" option in pgAdmin 4 native menu, if any time a user wants to check for updates manually then can prefer this and if update is available then the "Restart to update" option will show and if clicked will quit the app and install the latest version.
Let me know in which way we can proceed.
Option 1 seems good to me; though the current notifier should continue to work as it does now if a particular distribution channel doesn't support auto-updates (for example, the EDB PostgreSQL Installer).