Update build scripts; Add revised icon
|
@ -2,13 +2,13 @@ image: openjdk:18-jdk-bullseye
|
|||
|
||||
before_script:
|
||||
- apt --quiet update --yes
|
||||
- apt --quiet install --yes wget tar unzip perl p7zip-full
|
||||
- apt --quiet install --yes wget tar unzip perl p7zip-full imagemagick pngquant
|
||||
|
||||
BleedingEdge:
|
||||
interruptible: true
|
||||
stage: build
|
||||
script: |
|
||||
StartDir="$(pwd)"
|
||||
StartDir="$(pwd)"
|
||||
mkdir -p ../AndroidSdk
|
||||
cd ../AndroidSdk
|
||||
wget -O BuildTools.zip https://dl.google.com/android/repository/build-tools_r30.0.3-linux.zip
|
||||
|
@ -16,7 +16,6 @@ BleedingEdge:
|
|||
yes A | unzip BuildTools.zip || true
|
||||
yes A | unzip Platform.zip || true
|
||||
cd "$StartDir"
|
||||
|
||||
sh ./tools/Build.sh
|
||||
artifacts:
|
||||
paths:
|
||||
|
|
Before Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 169 KiB |
|
@ -7,5 +7,7 @@ mv ./java ./src
|
|||
cp -r ../tools/tiny-android-template/* ./
|
||||
echo "${SecEncodedKeystore}" | base64 --decode > ./Keystore.jks
|
||||
|
||||
sh ../tools/BuildAssets.sh
|
||||
|
||||
perl ./link.pl
|
||||
bash ./make.sh
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
Img=ic_launcher.png
|
||||
|
||||
cd ./res
|
||||
|
||||
for Dpi in m h xh xxh xxxh
|
||||
do
|
||||
mkdir -p ./drawable-${Dpi}dpi
|
||||
done
|
||||
|
||||
convert ./drawable/$Img -resize 48x48 ./drawable-mdpi/$Img
|
||||
convert ./drawable/$Img -resize 72x72 ./drawable-hdpi/$Img
|
||||
convert ./drawable/$Img -resize 96x96 ./drawable-xhdpi/$Img
|
||||
convert ./drawable/$Img -resize 144x144 ./drawable-xxhdpi/$Img
|
||||
convert ./drawable/$Img -resize 192x192 ./drawable-xxxhdpi/$Img
|
||||
|
||||
for Dpi in m h xh xxh xxxh
|
||||
do
|
||||
pngquant -v --strip --speed=1 --force -o ./drawable-${Dpi}dpi/$Img ./drawable-${Dpi}dpi/$Img
|
||||
done
|
||||
|
||||
cd ..
|