chg: change macos build to flutter_distributor
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
7
Makefile
7
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)
|
||||
|
||||
Reference in New Issue
Block a user