From 47e48aa3d45043b7b442522450fa44248ea2112a Mon Sep 17 00:00:00 2001 From: Hiddify <114227601+hiddify1@users.noreply.github.com> Date: Sun, 20 Aug 2023 11:48:47 +0000 Subject: [PATCH] chg: change macos build to flutter_distributor --- .github/workflows/ci.yml | 4 +++- Makefile | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0b9c3fe..49a45c3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,7 +74,9 @@ jobs: - name: Build macos dmg if: matrix.platform == 'macos' run: | - brew install create-dmg tree + brew install create-dmg tree node + npm install -g appdmg + - name: Setup Java if: matrix.platform == 'android' uses: actions/setup-java@v3 diff --git a/Makefile b/Makefile index 32c7a33a..2ed73c44 100644 --- a/Makefile +++ b/Makefile @@ -23,9 +23,10 @@ linux-release: flutter_distributor package --platform linux --targets appimage macos-release: - flutter build macos --release &&\ - tree ./build/macos/Build &&\ - create-dmg --app-drop-link 600 185 "hiddify-macos-universal.dmg" ./build/macos/Build/Products/Release/hiddify.app + flutter_distributor package --platform macos --targets dmg + # flutter build macos --release &&\ + # tree ./build/macos/Build &&\ + # create-dmg --app-drop-link 600 185 "hiddify-macos-universal.dmg" ./build/macos/Build/Products/Release/hiddify.app android-libs: mkdir -p $(ANDROID_OUT)