From 7000dc56244a7046b263b4f775c011896557311f Mon Sep 17 00:00:00 2001
From: DASHU <385321165@qq.com>
Date: Wed, 26 Nov 2025 15:01:33 +0800
Subject: [PATCH] macos add applink support
---
macos/Podfile.lock | 12 ++++++++++++
macos/Runner/Info.plist | 13 +++++++++++++
2 files changed, 25 insertions(+)
diff --git a/macos/Podfile.lock b/macos/Podfile.lock
index 51d440b..0fe8e07 100644
--- a/macos/Podfile.lock
+++ b/macos/Podfile.lock
@@ -1,4 +1,6 @@
PODS:
+ - app_links (1.0.0):
+ - FlutterMacOS
- cryptography_flutter (0.2.0):
- FlutterMacOS
- device_info_plus (0.0.1):
@@ -33,10 +35,13 @@ PODS:
- sqflite_darwin (0.0.4):
- Flutter
- FlutterMacOS
+ - url_launcher_macos (0.0.1):
+ - FlutterMacOS
- window_manager (0.2.0):
- FlutterMacOS
DEPENDENCIES:
+ - app_links (from `Flutter/ephemeral/.symlinks/plugins/app_links/macos`)
- cryptography_flutter (from `Flutter/ephemeral/.symlinks/plugins/cryptography_flutter/macos`)
- device_info_plus (from `Flutter/ephemeral/.symlinks/plugins/device_info_plus/macos`)
- flutter_inappwebview_macos (from `Flutter/ephemeral/.symlinks/plugins/flutter_inappwebview_macos/macos`)
@@ -51,6 +56,7 @@ DEPENDENCIES:
- screen_retriever_macos (from `Flutter/ephemeral/.symlinks/plugins/screen_retriever_macos/macos`)
- shared_preferences_foundation (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin`)
- sqflite_darwin (from `Flutter/ephemeral/.symlinks/plugins/sqflite_darwin/darwin`)
+ - url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`)
- window_manager (from `Flutter/ephemeral/.symlinks/plugins/window_manager/macos`)
SPEC REPOS:
@@ -59,6 +65,8 @@ SPEC REPOS:
- OrderedSet
EXTERNAL SOURCES:
+ app_links:
+ :path: Flutter/ephemeral/.symlinks/plugins/app_links/macos
cryptography_flutter:
:path: Flutter/ephemeral/.symlinks/plugins/cryptography_flutter/macos
device_info_plus:
@@ -87,10 +95,13 @@ EXTERNAL SOURCES:
:path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin
sqflite_darwin:
:path: Flutter/ephemeral/.symlinks/plugins/sqflite_darwin/darwin
+ url_launcher_macos:
+ :path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos
window_manager:
:path: Flutter/ephemeral/.symlinks/plugins/window_manager/macos
SPEC CHECKSUMS:
+ app_links: afe860c55c7ef176cea7fb630a2b7d7736de591d
cryptography_flutter: 33e8726fef117a6f306382f6fa34e173642cc64f
device_info_plus: 4fb280989f669696856f8b129e4a5e3cd6c48f76
flutter_inappwebview_macos: c2d68649f9f8f1831bfcd98d73fd6256366d9d1d
@@ -107,6 +118,7 @@ SPEC CHECKSUMS:
screen_retriever_macos: 452e51764a9e1cdb74b3c541238795849f21557f
shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7
sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0
+ url_launcher_macos: f87a979182d112f911de6820aefddaf56ee9fbfd
window_manager: 1d01fa7ac65a6e6f83b965471b1a7fdd3f06166c
PODFILE CHECKSUM: 9ebaf0ce3d369aaa26a9ea0e159195ed94724cf3
diff --git a/macos/Runner/Info.plist b/macos/Runner/Info.plist
index 329d2fd..bf27518 100644
--- a/macos/Runner/Info.plist
+++ b/macos/Runner/Info.plist
@@ -18,6 +18,19 @@
APPL
CFBundleShortVersionString
1.3.0
+ CFBundleURLTypes
+
+
+ CFBundleTypeRole
+ Editor
+ CFBundleURLName
+ com.github.haorendashu.nowser
+ CFBundleURLSchemes
+
+ nostrsigner
+
+
+
CFBundleVersion
10
ITSAppUsesNonExemptEncryption