Skip to content

Commit 1093fcb

Browse files
committed
ANDROID: Replace SDLIcon w/ CS3Title
1 parent ee92f6f commit 1093fcb

7 files changed

Lines changed: 23 additions & 2 deletions

File tree

.github/workflows/android.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
ANDROID_HOME: ${{ github.workspace }}/android-sdk
1818
#ANDROID_NDK_VERSION: 26.1.10909125
1919
ANDROID_NDK_VERSION: 29.0.14033849
20-
JAVA_VERSION: "21"
20+
JAVA_VERSION: "23"
2121
ANDROID_API_LEVEL: "34"
2222
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx4g -XX:+UseParallelGC"
2323

@@ -26,6 +26,7 @@ jobs:
2626
uses: actions/checkout@v4
2727
with:
2828
submodules: recursive
29+
fetch-depth: 0 # fetch full history including tags
2930

3031
- name: Patch source
3132
run: |
@@ -92,7 +93,7 @@ jobs:
9293
# working-directory: android-project
9394
# run: ./gradlew assembleDebug -Pandroid.ndkVersion=${{ env.ANDROID_NDK_VERSION }}
9495

95-
- name: Build Release APK (unsigned)
96+
- name: Build Release APK / AAB (unsigned)
9697
working-directory: android-project
9798
run: ./gradlew assembleRelease bundleRelease -Pandroid.ndkVersion=${{ env.ANDROID_NDK_VERSION }}
9899

@@ -126,3 +127,4 @@ jobs:
126127
path: |
127128
android-project/app/build/outputs/apk/**/app-*.apk
128129
android-project/app/build/outputs/bundle/**/app-*.aab
130+
retention-days: 7
9.42 KB
Loading
4.26 KB
Loading
16.3 KB
Loading
33.6 KB
Loading
51.1 KB
Loading

bin/andro-img.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
SOURCE=packages/data/macos/icon512.png
6+
echo "Resizing $SOURCE ..."
7+
echo "Resized images to android-project/app/src/main/res/mipmap-*/ic_launcher2.png"
8+
9+
DEST=android-project/app/src/main/res/mipmap-hdpi/ic_launcher.png
10+
magick $SOURCE -resize 72x72 $DEST
11+
DEST=android-project/app/src/main/res/mipmap-mdpi/ic_launcher.png
12+
magick $SOURCE -resize 48x48 $DEST
13+
DEST=android-project/app/src/main/res/mipmap-xhdpi/ic_launcher.png
14+
magick $SOURCE -resize 96x96 $DEST
15+
DEST=android-project/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
16+
magick $SOURCE -resize 144x144 $DEST
17+
DEST=android-project/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
18+
magick $SOURCE -resize 192x192 $DEST
19+
echo "Done."

0 commit comments

Comments
 (0)