try to change color and name without build script magic

This commit is contained in:
LagradOst 2021-08-20 21:02:09 +02:00
parent 92c2f6f1fc
commit afdafc3dac
6 changed files with 12 additions and 6 deletions

View file

@ -22,9 +22,6 @@ jobs:
distribution: 'adopt' distribution: 'adopt'
- name: Grant execute permission for gradlew - name: Grant execute permission for gradlew
run: chmod +x gradlew run: chmod +x gradlew
- name: Change icon color for prerelease
run: |
sed -i "s/#3242D3/#3DDC84/" app/src/main/res/values/ic_launcher_background.xml
- name: Update prerelease_commit_hash - name: Update prerelease_commit_hash
run: | run: |
COMMIT_HASH="$(git log -1 --format='%H')" COMMIT_HASH="$(git log -1 --format='%H')"

View file

@ -16,14 +16,12 @@ if (allFilesFromDir != null) {
android { android {
signingConfigs { signingConfigs {
prerelease { prerelease {
if (prerelaseStoreFile != null) { if (prerelaseStoreFile != null) {
storeFile = file(prerelaseStoreFile) storeFile = file(prerelaseStoreFile)
storePassword System.getenv("SIGNING_STORE_PASSWORD") storePassword System.getenv("SIGNING_STORE_PASSWORD")
keyAlias System.getenv("SIGNING_KEY_ALIAS") keyAlias System.getenv("SIGNING_KEY_ALIAS")
keyPassword System.getenv("SIGNING_KEY_PASSWORD") keyPassword System.getenv("SIGNING_KEY_PASSWORD")
} }
} }
} }
compileSdkVersion 30 compileSdkVersion 30

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#6A32D3</color>
</resources>

View file

@ -1,3 +1,3 @@
<resources> <resources>
<string name="app_name">CloudStream Beta</string> <string name="app_name">CloudStream Debug</string>
</resources> </resources>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#3DDC84</color>
</resources>

View file

@ -0,0 +1,3 @@
<resources>
<string name="app_name">CloudStream Beta</string>
</resources>