chg: add x64 to the name
This commit is contained in:
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
@@ -25,11 +25,12 @@ jobs:
|
|||||||
aarch: amd64
|
aarch: amd64
|
||||||
targets: exe
|
targets: exe
|
||||||
target: windows-x64
|
target: windows-x64
|
||||||
- platform: windows
|
|
||||||
os: windows-latest
|
# - platform: windows
|
||||||
aarch: 386
|
# os: windows-latest
|
||||||
targets: exe
|
# aarch: 386
|
||||||
target: windows-x86
|
# targets: exe
|
||||||
|
# target: windows-x86
|
||||||
|
|
||||||
# - platform: linux
|
# - platform: linux
|
||||||
# os: ubuntu-latest
|
# os: ubuntu-latest
|
||||||
@@ -40,17 +41,19 @@ jobs:
|
|||||||
os: macos-11
|
os: macos-11
|
||||||
aarch: universal
|
aarch: universal
|
||||||
targets: dmg
|
targets: dmg
|
||||||
|
target: macos-universal
|
||||||
|
|
||||||
- platform: linux
|
- platform: linux
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
aarch: amd64
|
aarch: amd64
|
||||||
targets: AppImage
|
targets: AppImage
|
||||||
target: linux-x64
|
target: linux-x64
|
||||||
- platform: linux
|
|
||||||
os: ubuntu-latest
|
# - platform: linux
|
||||||
aarch: 386
|
# os: ubuntu-latest
|
||||||
targets: AppImage
|
# aarch: 386
|
||||||
target: linux-x86
|
# targets: AppImage
|
||||||
|
# target: linux-x86
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
12
Makefile
12
Makefile
@@ -16,13 +16,13 @@ translate:
|
|||||||
android-release:
|
android-release:
|
||||||
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
|
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
|
||||||
|
|
||||||
windows-release:
|
windows-x64-release:
|
||||||
flutter_distributor package --platform windows --targets exe
|
flutter_distributor package --platform windows --targets exe
|
||||||
|
|
||||||
linux-release:
|
linux-x64-release:
|
||||||
flutter_distributor package --platform linux --targets appimage
|
flutter_distributor package --platform linux --targets appimage
|
||||||
|
|
||||||
macos-realase:
|
macos-universal-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-amd64.dmg" ./build/macos/Build/Products/Release/hiddify-clash.app
|
create-dmg --app-drop-link 600 185 "hiddify-amd64.dmg" ./build/macos/Build/Products/Release/hiddify-clash.app
|
||||||
@@ -31,15 +31,15 @@ android-libs:
|
|||||||
mkdir -p $(ANDROID_OUT)
|
mkdir -p $(ANDROID_OUT)
|
||||||
curl -L $(LIBS_DOWNLOAD_URL)/hiddify-libcore-android.aar.gz | gunzip > $(ANDROID_OUT)/libcore.aar
|
curl -L $(LIBS_DOWNLOAD_URL)/hiddify-libcore-android.aar.gz | gunzip > $(ANDROID_OUT)/libcore.aar
|
||||||
|
|
||||||
windows-libs:
|
windows-x64-libs:
|
||||||
mkdir -p $(DESKTOP_OUT)
|
mkdir -p $(DESKTOP_OUT)
|
||||||
curl -L $(LIBS_DOWNLOAD_URL)/hiddify-libcore-windows-amd64.dll.gz | gunzip > $(DESKTOP_OUT)/libcore.dll
|
curl -L $(LIBS_DOWNLOAD_URL)/hiddify-libcore-windows-amd64.dll.gz | gunzip > $(DESKTOP_OUT)/libcore.dll
|
||||||
|
|
||||||
linux-libs:
|
linux-x64-libs:
|
||||||
mkdir -p $(DESKTOP_OUT)
|
mkdir -p $(DESKTOP_OUT)
|
||||||
curl -L $(LIBS_DOWNLOAD_URL)/hiddify-libcore-linux-amd64.so.gz | gunzip > $(DESKTOP_OUT)/libcore.so
|
curl -L $(LIBS_DOWNLOAD_URL)/hiddify-libcore-linux-amd64.so.gz | gunzip > $(DESKTOP_OUT)/libcore.so
|
||||||
|
|
||||||
macos-libs:
|
macos-universal-libs:
|
||||||
mkdir -p $(DESKTOP_OUT)/ &&\
|
mkdir -p $(DESKTOP_OUT)/ &&\
|
||||||
curl -L $(LIBS_DOWNLOAD_URL)/hiddify-libcore-macos-universal.dylib.gz | gunzip > $(DESKTOP_OUT)/libcore.dylib
|
curl -L $(LIBS_DOWNLOAD_URL)/hiddify-libcore-macos-universal.dylib.gz | gunzip > $(DESKTOP_OUT)/libcore.dylib
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user