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
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- platform: android
|
# - platform: android
|
||||||
os: ubuntu-latest
|
# os: ubuntu-latest
|
||||||
targets: aab,apk
|
# targets: aab,apk
|
||||||
target: android
|
# target: android
|
||||||
|
|
||||||
- platform: windows
|
# - platform: windows
|
||||||
os: windows-latest
|
# os: windows-latest
|
||||||
aarch: amd64
|
# aarch: amd64
|
||||||
targets: exe
|
# targets: exe
|
||||||
|
|
||||||
# Flutter does not support x86
|
# Flutter does not support x86
|
||||||
# - platform: windows
|
# - platform: windows
|
||||||
@@ -44,10 +44,10 @@ jobs:
|
|||||||
targets: dmg
|
targets: dmg
|
||||||
|
|
||||||
|
|
||||||
- platform: linux
|
# - platform: linux
|
||||||
os: ubuntu-latest
|
# os: ubuntu-latest
|
||||||
aarch: amd64
|
# aarch: amd64
|
||||||
targets: AppImage
|
# targets: AppImage
|
||||||
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -25,7 +25,7 @@ linux-release:
|
|||||||
macos-release:
|
macos-release:
|
||||||
flutter build macos --release &&\
|
flutter build macos --release &&\
|
||||||
tree ./build/macos/Build &&\
|
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:
|
android-libs:
|
||||||
mkdir -p $(ANDROID_OUT)
|
mkdir -p $(ANDROID_OUT)
|
||||||
|
|||||||
Reference in New Issue
Block a user