fix build for macos
This commit is contained in:
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
@@ -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 }}
|
||||
|
||||
2
Makefile
2
Makefile
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user