fix build for macos

This commit is contained in:
Hiddify
2023-08-20 11:37:10 +00:00
parent 78970d1c2e
commit 54f8416ecd
2 changed files with 13 additions and 13 deletions

View File

@@ -15,15 +15,15 @@ jobs:
fail-fast: false
matrix:
include:
- platform: android
os: ubuntu-latest
targets: aab,apk
target: android
# - platform: android
# os: ubuntu-latest
# targets: aab,apk
# target: android
- platform: windows
os: windows-latest
aarch: amd64
targets: exe
# - platform: windows
# os: windows-latest
# aarch: amd64
# targets: exe
# Flutter does not support x86
# - platform: windows
@@ -44,10 +44,10 @@ jobs:
targets: dmg
- platform: linux
os: ubuntu-latest
aarch: amd64
targets: AppImage
# - platform: linux
# os: ubuntu-latest
# aarch: amd64
# targets: AppImage
runs-on: ${{ matrix.os }}

View File

@@ -25,7 +25,7 @@ linux-release:
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-clash.app
create-dmg --app-drop-link 600 185 "hiddify-macos-universal.dmg" ./build/macos/Build/Products/Release/hiddify.app
android-libs:
mkdir -p $(ANDROID_OUT)