diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index a6ed3645..1c5ba3a9 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -43,22 +43,22 @@ template: | 🪟 Windows EXE amd64 - 📥 + 📥 Portable amd64 - 📥 + 📥 🍎 MacOS DMG universal - 📥 + 📥 🐧 Linux - Flathub + Flathubamd64 📥 @@ -70,32 +70,44 @@ template: | DEB amd64 - 📥 + 📥 arm64 - 📥 + 📥 AppImage amd64 - 📥 + 📥 arm64 - 📥 + 📥 - 🤖 Android - APK + 🤖 Android + APK universal - 📥 + 📥 + + + armeabi-v7a + 📥 + + + arm64-v8a + 📥 + + + x86_64 + 📥 📱 iOS IPA universal - 📥 + 📥 🐳 Docker @@ -107,47 +119,47 @@ template: | 💾 Qnap QPKG amd64 - 📥 + 📥 arm64 - 📥 + 📥 🌐 Web Windows amd64 - 📥 + 📥 arm64 - 📥 + 📥 386 - 📥 + 📥 MacOS amd64 - 📥 + 📥 arm64 - 📥 + 📥 Linux amd64 - 📥 + 📥 arm64 - 📥 + 📥 386 - 📥 + 📥 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cac2707c..d590781c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -236,7 +236,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-22.04, ubuntu-22.04-arm ] + os: [ubuntu-22.04, ubuntu-22.04-arm] needs: [get-release] steps: - uses: actions/checkout@v3 @@ -270,7 +270,7 @@ jobs: go build -tags nosqlite -ldflags="-w -s -X github.com/GopeedLab/gopeed/pkg/base.Version=$VERSION" -buildmode=c-shared -o ui/flutter/linux/bundle/lib/libgopeed.so github.com/GopeedLab/gopeed/bind/desktop go build -ldflags="-w -s" -o ui/flutter/assets/exec/host github.com/GopeedLab/gopeed/cmd/host go build -ldflags="-w -s" -o ui/flutter/assets/exec/updater github.com/GopeedLab/gopeed/cmd/updater - + cd ui/flutter cat << EOF > distribute_options.yaml output: dist/ @@ -295,13 +295,13 @@ jobs: dart pub global activate -sgit https://github.com/GopeedLab/flutter_distributor.git --git-path packages/flutter_distributor flutter_distributor release --name linux cd dist/* - + # Get current running architecture, x86_64 -> amd64 and aarch64 -> arm64 ARCH="amd64" if [[ "${{ matrix.os }}" == *-arm ]]; then ARCH="arm64" fi - + mv gopeed-*-linux.AppImage Gopeed-v${VERSION}-linux-${ARCH}.AppImage mv gopeed-*-linux.deb Gopeed-v${VERSION}-linux-${ARCH}.deb - name: Upload @@ -472,8 +472,12 @@ jobs: cd ui/flutter echo $APK_KEYSTORE | base64 -di > android/app/upload-keystore.jks flutter build apk --dart-define="UPDATE_CHANNEL=androidApk" + flutter build apk --split-per-abi --dart-define="UPDATE_CHANNEL=androidApk" mkdir dist cp build/app/outputs/flutter-apk/app-release.apk dist/Gopeed-v$VERSION-android.apk + cp build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk dist/Gopeed-v$VERSION-android-armeabi-v7a.apk + cp build/app/outputs/flutter-apk/app-arm64-v8a-release.apk dist/Gopeed-v$VERSION-android-arm64-v8a.apk + cp build/app/outputs/flutter-apk/app-x86_64-release.apk dist/Gopeed-v$VERSION-android-x86_64.apk - name: Upload uses: shogo82148/actions-upload-release-asset@v1 with: diff --git a/README.md b/README.md index 83686867..4fb95f4a 100644 --- a/README.md +++ b/README.md @@ -70,10 +70,22 @@ Visit ✈ [Official Website](https://gopeed.com) | 📖 [Official Docs](https:// 📥 - 🤖 Android - APK + 🤖 Android + APK universal 📥 + + + armeabi-v7a + 📥 + + + arm64-v8a + 📥 + + + x86_64 + 📥 📱 iOS diff --git a/README_ja-JP.md b/README_ja-JP.md index 54eefc4d..5a4bd303 100644 --- a/README_ja-JP.md +++ b/README_ja-JP.md @@ -70,10 +70,22 @@ Gopeed (正式名 Go Speed) は `Golang` + `Flutter` によって開発された 📥 - 🤖 Android - APK + 🤖 Android + APK universal 📥 + + + armeabi-v7a + 📥 + + + arm64-v8a + 📥 + + + x86_64 + 📥 📱 iOS @@ -135,7 +147,6 @@ Gopeed (正式名 Go Speed) は `Golang` + `Flutter` によって開発された - インストールについての詳細は、[インストール](https://docs.gopeed.com/install.html)を参照してください。 ### 🛠️ コマンドツール diff --git a/README_vi-VN.md b/README_vi-VN.md index 2b0c7c6b..82dc40f9 100644 --- a/README_vi-VN.md +++ b/README_vi-VN.md @@ -70,10 +70,22 @@ Truy cập ✈ [Trang web chính thức](https://gopeed.com) | 📖 [Tài liệu 📥 - 🤖 Android - APK + 🤖 Android + APK universal 📥 + + + armeabi-v7a + 📥 + + + arm64-v8a + 📥 + + + x86_64 + 📥 📱 iOS @@ -135,7 +147,6 @@ Truy cập ✈ [Trang web chính thức](https://gopeed.com) | 📖 [Tài liệu - Thêm thông tin về cài đặt, vui lòng tham khảo [Cài đặt](https://docs.gopeed.com/install.html) ### 🛠️ Công cụ lệnh diff --git a/README_zh-CN.md b/README_zh-CN.md index 501dfdb6..49787907 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -70,10 +70,22 @@ Gopeed(全称 Go Speed),直译过来中文名叫做`够快下载器`(不 📥 - 🤖 Android - APK + 🤖 Android + APK universal 📥 + + + armeabi-v7a + 📥 + + + arm64-v8a + 📥 + + + x86_64 + 📥 📱 iOS @@ -135,7 +147,6 @@ Gopeed(全称 Go Speed),直译过来中文名叫做`够快下载器`(不 - 更多关于安装的内容请参考[安装文档](https://docs.gopeed.com/zh/install.html) ### 🛠️ 命令行工具 diff --git a/README_zh-TW.md b/README_zh-TW.md index feaac672..c978985f 100644 --- a/README_zh-TW.md +++ b/README_zh-TW.md @@ -70,10 +70,22 @@ Gopeed(全稱 Go Speed),是一款使用`Golang`+`Flutter`編寫的高速 📥 - 🤖 Android - APK + 🤖 Android + APK universal 📥 + + + armeabi-v7a + 📥 + + + arm64-v8a + 📥 + + + x86_64 + 📥 📱 iOS