Also adds TauriExternalLinkHandler, which detects external links and opens them in the users default browser. This not only removes the need for target="_blank", it also means links in the release notes open in a new window without even having to add that attribute.
This also bumps up the update notification to index.tsx from app.tsx. It's more "dependency" code than "application" code. And if something goes wrong at the application layer, the notification never shows. Technically more is still needed:
Some kind of React error boundary
Some kind of timer on the Tauri side of things. If the app fails to start in some amount of time, present a dialog to the user to say "shit's broken" or something
Fixes external links, again
Also adds
TauriExternalLinkHandler
, which detects external links and opens them in the users default browser. This not only removes the need fortarget="_blank"
, it also means links in the release notes open in a new window without even having to add that attribute.This also bumps up the update notification to
index.tsx
fromapp.tsx
. It's more "dependency" code than "application" code. And if something goes wrong at the application layer, the notification never shows. Technically more is still needed:Preview