mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
try to change color and name without build script magic
This commit is contained in:
parent
92c2f6f1fc
commit
afdafc3dac
6 changed files with 12 additions and 6 deletions
3
.github/workflows/prerelease.yml
vendored
3
.github/workflows/prerelease.yml
vendored
|
@ -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')"
|
||||||
|
|
|
@ -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
|
||||||
|
|
4
app/src/debug/res/values/ic_launcher_background.xml
Normal file
4
app/src/debug/res/values/ic_launcher_background.xml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<color name="ic_launcher_background">#6A32D3</color>
|
||||||
|
</resources>
|
|
@ -1,3 +1,3 @@
|
||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">CloudStream Beta</string>
|
<string name="app_name">CloudStream Debug</string>
|
||||||
</resources>
|
</resources>
|
4
app/src/prerelease/res/values/ic_launcher_background.xml
Normal file
4
app/src/prerelease/res/values/ic_launcher_background.xml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<color name="ic_launcher_background">#3DDC84</color>
|
||||||
|
</resources>
|
3
app/src/prerelease/res/values/strings.xml
Normal file
3
app/src/prerelease/res/values/strings.xml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<resources>
|
||||||
|
<string name="app_name">CloudStream Beta</string>
|
||||||
|
</resources>
|
Loading…
Reference in a new issue