Add URL scheme support for external trigger integration

Register snippingtool:// URL scheme so external tools (Logitech Options,
Shortcuts, Stream Deck) can trigger specific capture modes directly.
Adds AppDelegate for reliable URL handling in MenuBarExtra-only apps.

Supported URLs:
  snippingtool://fullscreen
  snippingtool://window
  snippingtool://region

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-07-01 16:03:25 +02:00
co-authored by Claude
parent 1c2b52fa30
commit ecbae7cd21
4 changed files with 50 additions and 2 deletions
+4
View File
@@ -18,6 +18,10 @@ targets:
CFBundleName: Snipping Tool
LSUIElement: true
NSHumanReadableCopyright: "Copyright © 2026"
CFBundleURLTypes:
- CFBundleURLName: it.wende.snippingtool
CFBundleURLSchemes:
- snippingtool
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: it.wende.snippingtool