Was not passing in the generic modal-overlay class. (ExpandableModal
doesn't provide it automatically so you can omit it and make a totally
custom overlay if you want.)
Explicitly set the page being viewed to "discover" instead of just
rendering the discover page if none is set.
Eliminates several real or possible bugs and edge cases.
Also starts a detached process so the window doesn't get held open
(many GUI apps launch the interface in a new process, so xdg-open
returns immediately, but it's not guaranteed).
- Use Node instead of lbrynet to get platform info
- Factor out code that picks the download URI into its own function
- Remove out-of-date code for checking old versions of MacOS
- Manually call xdg-open instead of using shell.openItem(), which
doesn't reliably work from the main process
- If there's a connection error or timeout when asking the daemon
to close, fall back on force killing
- Use Node instead of lbrynet to get platform info
- Factor out code that picks the download URI into its own function
- Remove out-of-date code for checking old versions of MacOS
- Manually call xdg-open instead of using shell.openItem(), which
doesn't reliably work from the main process
- If there's a connection error or timeout when asking the daemon
to close, fall back on force killing
- Now asks the daemon to close, even if it wasn't started by the same
app
- Improved UX during upgrade process (cancel buttons, final dialog
where you approve the update, etc.)
- Saves updates in temp directory, closes app and launches the installer