From 83e742a9dc78d21ef0c3e96876b46b22fad3d0a1 Mon Sep 17 00:00:00 2001 From: speakeloudest Date: Thu, 27 Nov 2025 18:46:09 -0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A4=84=E7=90=86macos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- build.yaml | 2 ++ macos/Runner/Info.plist | 16 ---------------- macos/packaging/dmg/make_config.yaml | 5 +++-- 4 files changed, 6 insertions(+), 19 deletions(-) diff --git a/Makefile b/Makefile index d985431..c1f1b2c 100755 --- a/Makefile +++ b/Makefile @@ -169,7 +169,7 @@ linux-release: flutter_distributor package --flutter-build-args=verbose --platform linux --targets deb,rpm,appimage $(DISTRIBUTOR_ARGS) macos-release: - flutter_distributor package --platform macos --targets dmg,pkg $(DISTRIBUTOR_ARGS) + flutter_distributor package --platform macos --targets dmg $(DISTRIBUTOR_ARGS) ios-release: #not tested flutter_distributor package --platform ios --targets ipa --build-export-options-plist ios/exportOptions.plist $(DISTRIBUTOR_ARGS) diff --git a/build.yaml b/build.yaml index 10f69e7..2bebf5f 100755 --- a/build.yaml +++ b/build.yaml @@ -5,6 +5,8 @@ targets: options: explicit_to_json: true drift_dev: + generate_for: + - lib/**.drift options: store_date_time_values_as_text: true slang_build_runner: diff --git a/macos/Runner/Info.plist b/macos/Runner/Info.plist index ee4cffe..14929ec 100755 --- a/macos/Runner/Info.plist +++ b/macos/Runner/Info.plist @@ -18,22 +18,6 @@ APPL CFBundleShortVersionString $(FLUTTER_BUILD_NAME) - CFBundleURLTypes - - - CFBundleTypeRole - Editor - CFBundleURLName - - CFBundleURLSchemes - - clash - clashmeta - sing-box - hiddify - - - CFBundleVersion $(FLUTTER_BUILD_NUMBER) LSMinimumSystemVersion diff --git a/macos/packaging/dmg/make_config.yaml b/macos/packaging/dmg/make_config.yaml index 4c545c5..6f1f28a 100755 --- a/macos/packaging/dmg/make_config.yaml +++ b/macos/packaging/dmg/make_config.yaml @@ -1,4 +1,5 @@ -title: Hiddify +title: HiFastVPN +volume: HiFastVPN contents: - x: 448 y: 344 @@ -7,4 +8,4 @@ contents: - x: 192 y: 344 type: file - path: Hiddify.app + path: HiFastVPN.app