Boot animation color improvements

This commit is contained in:
Tad 2018-06-24 10:18:19 -04:00
parent bfa7e90d5e
commit 0eeea28907
4 changed files with 4 additions and 3 deletions

View File

@ -98,7 +98,7 @@ export -f generateBootAnimationMask;
generateBootAnimationShine() {
color=$1;
output=$2;
convert -size 1024x128 -define gradient:angle=90 gradient:"$color"-#9E9E9E \( +clone -flop \) +append "$output";
convert -size 1024x128 -define gradient:angle=90 gradient:"$color" \( +clone -flop \) +append "$output";
}
export -f generateBootAnimationShine;

View File

@ -30,7 +30,7 @@ sed -i '/CM_TARGET_PACKAGE/s/lineage/'"$REBRAND_ZIP_PREFIX"'/' core/Makefile;
enter "frameworks/base";
generateBootAnimationMask "$REBRAND_NAME" "$REBRAND_BOOTANIMATION_FONT" core/res/assets/images/android-logo-mask.png;
generateBootAnimationShine "#FF5722" core/res/assets/images/android-logo-shine.png;
generateBootAnimationShine "$REBRAND_BOOTANIMATION_COLOR" core/res/assets/images/android-logo-shine.png;
enter "packages/apps/Settings";
sed -i '/.*cmlicense_title/s/LineageOS/'"$REBRAND_NAME"'/' res/values*/cm_strings.xml;

View File

@ -36,7 +36,7 @@ sed -i 's|echo "ro.build.host=`hostname`"|echo "ro.build.host=dosbm"|' tools/bui
enter "frameworks/base";
generateBootAnimationMask "$REBRAND_NAME" "$REBRAND_BOOTANIMATION_FONT" core/res/assets/images/android-logo-mask.png;
generateBootAnimationShine "#FF5722" core/res/assets/images/android-logo-shine.png;
generateBootAnimationShine "$REBRAND_BOOTANIMATION_COLOR" core/res/assets/images/android-logo-shine.png;
enter "lineage-sdk";
sed -i '/.*lineage_version/s/LineageOS/'"$REBRAND_NAME"'/' lineage/res/res/values*/strings.xml;

View File

@ -36,6 +36,7 @@ export NON_COMMERCIAL_USE_PATCHES=false; #Switch to false to prevent inclusion o
export REBRAND_NAME="DivestOS";
export REBRAND_ZIP_PREFIX="divested";
export REBRAND_BOOTANIMATION_FONT="Fira-Sans-Bold"; #Options: $ convert -list font
export REBRAND_BOOTANIMATION_COLOR="#FF5722-#FFAB91";
export REBRAND_LEGAL="https://divestos.xyz/index.php?page=privacy_policy";
#END OF USER CONFIGURABLE OPTIONS