diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index c1c9c74..4cd41ae 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -66,10 +66,17 @@ jobs: NDK_HOME: ${{ env.ANDROID_HOME }}/ndk/27.0.11902837 - name: Build app bundle + if: github.repository != 'RepoDevil/segment-editor' run: pnpm tauri android build env: NDK_HOME: ${{ env.ANDROID_HOME }}/ndk/27.0.11902837 + - name: Build app bundle + if: github.repository == 'RepoDevil/segment-editor' + run: pnpm tauri android build --target aarch64 + env: + NDK_HOME: ${{ env.ANDROID_HOME }}/ndk/27.0.11902837 + - name: Modify AndroidManifest run: | java -jar ManifestEditor-2.0.jar -aa "android-usesCleartextTraffic:true" src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release-unsigned.apk