From 9f423db63e6f0ed2aa74ec450fde77b34f6760ef Mon Sep 17 00:00:00 2001 From: coso Date: Tue, 10 Feb 2026 10:28:17 +0800 Subject: [PATCH] fix: limit deep-link permission to macOS only tauri-plugin-deep-link does not register permissions on Windows or Linux (both use CLI args for deep links). Only macOS uses the event-based deep link system that requires permissions. --- src-tauri/capabilities/deep-link.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/capabilities/deep-link.json b/src-tauri/capabilities/deep-link.json index c19d8e016..b003945cd 100644 --- a/src-tauri/capabilities/deep-link.json +++ b/src-tauri/capabilities/deep-link.json @@ -1,9 +1,9 @@ { "$schema": "../gen/schemas/desktop-schema.json", "identifier": "deep-link", - "description": "Deep link 权限(仅 macOS 和 Windows)", + "description": "Deep link 权限(仅 macOS)", "windows": ["main"], - "platforms": ["macOS", "windows"], + "platforms": ["macOS"], "permissions": [ "deep-link:default" ]