Vincent KocandLucas Nogueira 2d541bc0d1 fix(deep-link): preserve XDG registration ownership and report failures (#3585)
* fix(deep-link): honor XDG failures and unregister associations

* test(deep-link): isolate other application handlers

* chore: satisfy release metadata and test header checks

* fix(deep-link): gate XDG helpers to Linux

The plugin only supports Linux, so FreeBSD builds warned about dead code.

* refactor(deep-link): add run_command helper

Share the spawn, status check and logging for XDG commands.

* refactor(deep-link): share desktop file list helpers

register and unregister now edit MimeType lists the same way.

* fix(deep-link): keep desktop file quoting on register

Parse raw values so a quoted Exec matches and isn't rewritten each time.

* fix(deep-link): clean mimeapps.list first on unregister

A failing update-desktop-database no longer leaves the app as the default.

* fix(deep-link): keep mimeapps.list comments on unregister

Edit it line by line instead of re-serializing it through rust-ini.

* fix(deep-link): skip cache refresh when nothing to unregister

Only run update-desktop-database if the desktop file changed or the cache still lists the app.

* fix(deep-link): treat no default handler as unregistered

xdg-mime exits with 4 on KDE and LXQt when no handler is set.

* fix(deep-link): tolerate padded xdg-mime query output

Compare the trimmed first line instead of the raw output.

* test(deep-link): run XDG tests in CI

Drop #[ignore], skip when the tools are missing, and install them on Linux CI.

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2026-10-11 06:19:37 -03:00
2026-09-01 17:38:21 +08:00
2026-10-10 12:50:18 -03:00
2026-10-10 12:50:18 -03:00
2026-09-30 17:56:45 -03:00
2022-12-14 18:54:05 +01:00
2022-12-14 18:54:05 +01:00
2022-12-14 18:54:05 +01:00
2026-10-09 09:40:26 -03:00
2026-09-26 14:46:48 -03:00

Official Tauri Plugins

This repo and all plugins require a Rust version of at least 1.90

Plugins Found Here

Win Mac Lin iOS And
autostart Automatically launch your app at system startup. ✅ ✅ ✅ ❌ ❌
barcode-scanner Allows your mobile application to use the camera to scan QR codes, EAN-13 and other kinds of barcodes. ? ? ? ✅ ✅
biometric Prompt the user for biometric authentication on Android and iOS. ? ? ? ✅ ✅
cli Parse arguments from your Command Line Interface ✅ ✅ ✅ ❌ ❌
clipboard-manager Read and write to the system clipboard. ✅ ✅ ✅ ✅ ✅
deep-link Set your Tauri application as the default handler for an URL. ✅ ✅ ✅ ✅ ✅
dialog Native system dialogs for opening and saving files along with message dialogs. ✅ ✅ ✅ ✅ ✅
fs Access the file system. ✅ ✅ ✅ ? ?
geolocation Get and track current device position. ? ? ? ✅ ✅
global-shortcut Register global shortcuts. ✅ ✅ ✅ ? ?
haptics Haptic feedback and vibrations. ? ? ? ✅ ✅
http Access the HTTP client written in Rust. ✅ ✅ ✅ ✅ ✅
localhost Use a localhost server in production apps. ✅ ✅ ✅ ? ?
log Configurable logging. ✅ ✅ ✅ ✅ ✅
nfc Read and write NFC tags on Android and iOS. ? ? ? ✅ ✅
notification Send message notifications (brief auto-expiring OS window element) to your user. Can also be used with the Notification Web API. ✅ ✅ ✅ ✅ ✅
opener Open files and URLs using their default application. ✅ ✅ ✅ ✅ ✅
os Read information about the operating system. ✅ ✅ ✅ ✅ ✅
persisted-scope Persist runtime scope changes on the filesystem. ✅ ✅ ✅ ? ?
positioner Move windows to common locations. ✅ ✅ ✅ ❌ ❌
process This plugin provides APIs to access the current process. To spawn child processes, see the shell plugin. ✅ ✅ ✅ ? ?
shell Access the system shell. Allows you to spawn child processes and manage files and URLs using their default application. ✅ ✅ ✅ ? ?
single-instance Ensure a single instance of your tauri app is running. ✅ ✅ ✅ ❌ ❌
sql Interface with SQL databases. ✅ ✅ ✅ ✅ ✅
store Persistent key value storage. ✅ ✅ ✅ ✅ ✅
stronghold Encrypted, secure database. ✅ ✅ ✅ ? ?
updater In-app updates for Tauri applications. ✅ ✅ ✅ ❌ ❌
upload Tauri plugin for file uploads through HTTP. ✅ ✅ ✅ ✅ ✅
websocket Open a WebSocket connection using a Rust client in JS. ✅ ✅ ✅ ? ?
window-state Persist window sizes and positions. ✅ ✅ ✅ ❌ ❌
  • ✅: (Partially) Supported
  • ❌: Not supported
  • ? : Unknown/Untested or Planned

Contributing

PRs accepted. Please make sure to read the Contributing Guide before making a pull request.

Partners

CrabNebula

For the complete list of sponsors please visit our website and Open Collective.

Languages
Rust 57%
TypeScript 25.4%
Kotlin 9.8%
Swift 5.5%
JavaScript 1.4%
Other 0.8%