mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
Test building aab
This commit is contained in:
parent
3e2a1869ab
commit
1247ff46fb
2 changed files with 54 additions and 2 deletions
16
.github/workflows/pr.yml
vendored
16
.github/workflows/pr.yml
vendored
|
|
@ -43,8 +43,8 @@ jobs:
|
||||||
- name: Build app
|
- name: Build app
|
||||||
id: buildapp
|
id: buildapp
|
||||||
run: |
|
run: |
|
||||||
./gradlew clean assembleDebug testDebugUnitTest --no-daemon
|
./gradlew clean assembleDebug bundleDebug testDebugUnitTest --no-daemon
|
||||||
apks=$(find app/build/outputs/apk -name '*.apk' -print0 | tr '\0' ',' | sed 's/,$//')
|
apks=$(find app/build/outputs/ -name '*.apk' -or -name '*.aab' -print0 | tr '\0' ',' | sed 's/,$//')
|
||||||
echo "apks=$apks" >> "$GITHUB_OUTPUT"
|
echo "apks=$apks" >> "$GITHUB_OUTPUT"
|
||||||
- name: Tar build dirs
|
- name: Tar build dirs
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -60,3 +60,15 @@ jobs:
|
||||||
name: APKs
|
name: APKs
|
||||||
path: "${{ steps.buildapp.outputs.apks }}"
|
path: "${{ steps.buildapp.outputs.apks }}"
|
||||||
compression-level: 0
|
compression-level: 0
|
||||||
|
|
||||||
|
test-patch:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: pre-commit
|
||||||
|
steps:
|
||||||
|
- name: Checkout the code
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
- name: Test applying patch
|
||||||
|
run: |
|
||||||
|
git apply app/src/patches/play_store.patch
|
||||||
|
|
|
||||||
40
app/src/patches/play_store.patch
Normal file
40
app/src/patches/play_store.patch
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
commit f82fb1a2d8ff9917a7bdb0bc7101a0474359ccdc
|
||||||
|
Author: Damontecres <damontecres@gmail.com>
|
||||||
|
Date: Sat Nov 22 13:00:55 2025 -0500
|
||||||
|
|
||||||
|
Setup for play store
|
||||||
|
|
||||||
|
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
|
||||||
|
index 6d84299..12576af 100644
|
||||||
|
--- a/app/src/main/AndroidManifest.xml
|
||||||
|
+++ b/app/src/main/AndroidManifest.xml
|
||||||
|
@@ -4,7 +4,6 @@
|
||||||
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
||||||
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||||||
|
- <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
||||||
|
<uses-permission
|
||||||
|
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
||||||
|
android:maxSdkVersion="28" />
|
||||||
|
@@ -17,7 +16,7 @@
|
||||||
|
android:required="false" />
|
||||||
|
<uses-feature
|
||||||
|
android:name="android.software.leanback"
|
||||||
|
- android:required="false" />
|
||||||
|
+ android:required="true" />
|
||||||
|
<uses-feature
|
||||||
|
android:name="android.hardware.microphone"
|
||||||
|
android:required="false" />
|
||||||
|
diff --git a/app/src/main/java/com/github/damontecres/wholphin/services/UpdateChecker.kt b/app/src/main/java/com/github/damontecres/wholphin/services/UpdateChecker.kt
|
||||||
|
index c7ac435..fa42fe1 100644
|
||||||
|
--- a/app/src/main/java/com/github/damontecres/wholphin/services/UpdateChecker.kt
|
||||||
|
+++ b/app/src/main/java/com/github/damontecres/wholphin/services/UpdateChecker.kt
|
||||||
|
@@ -62,7 +62,7 @@ class UpdateChecker
|
||||||
|
|
||||||
|
private val NOTE_REGEX = Regex("<!-- app-note:(.+) -->")
|
||||||
|
|
||||||
|
- val ACTIVE = true
|
||||||
|
+ val ACTIVE = false
|
||||||
|
}
|
||||||
|
|
||||||
|
suspend fun maybeShowUpdateToast(
|
||||||
Loading…
Add table
Add a link
Reference in a new issue