Stirling-PDF/frontend/src-tauri
James Brunton a415c457e9
Add prompt to make Stirling your default PDF app (#4890)
# Description of Changes
- Adds a reusable banner component/system to the core app
- Adds banner at the top of the desktop app if Stirling isn't your
default PDF editor, with a button to make it your default
- Adds a permanent button in the settings to do it manually (in case
you've dismissed the banner)
- Simplifies the file loading logic to fix a bug where the input file
could be duplicated occasionally. Now, the TS just receives files from
one buffer, regardless of how they've been passed to the app in Rust.

## Caveats
I've only been able to get the setting of default apps working properly
on Mac. The Windows build isn't signed (yet) so we can't use the proper
API for it, so currently it just sends you to the Settings UI. I've also
not been able to test it on Linux at all.
2025-11-17 16:05:33 +00:00
..
capabilities V2 Tauri integration (#3854) 2025-11-05 11:44:59 +00:00
icons V2 Tauri integration (#3854) 2025-11-05 11:44:59 +00:00
src Add prompt to make Stirling your default PDF app (#4890) 2025-11-17 16:05:33 +00:00
.gitignore V2 Tauri integration (#3854) 2025-11-05 11:44:59 +00:00
build.rs V2 Tauri integration (#3854) 2025-11-05 11:44:59 +00:00
Cargo.lock Add prompt to make Stirling your default PDF app (#4890) 2025-11-17 16:05:33 +00:00
Cargo.toml Add prompt to make Stirling your default PDF app (#4890) 2025-11-17 16:05:33 +00:00
stirling-pdf.desktop V2 Tauri integration (#3854) 2025-11-05 11:44:59 +00:00
tauri.conf.json Redesign and enable macOS signing (#4883) 2025-11-13 12:11:59 +00:00