Use newer velvet ONLY for tangorpro
* Somehow this newer versionis 130mb bigger - and wrecks basically all current devices to the point that gapps couldn't fit. * [javelinanddart]: Script it up. Co-authored-by: javelinanddart@gmail.com
This commit is contained in:
@@ -124,6 +124,16 @@ cd "$TMP"
|
||||
unzip -o "$ZIP"
|
||||
rm -rf META-INF
|
||||
|
||||
# Detect tangorpro
|
||||
DEVICE=$(getprop ro.build.product)
|
||||
if [ "$DEVICE" == "tangorpro" ]; then
|
||||
ui_print "Detected tangorpro device. Deleting normal Velvet app"
|
||||
rm -Rf $TMP/product/priv-app/Velvet
|
||||
else
|
||||
rm -Rf $TMP/product/priv-app/VelvetTitan
|
||||
fi
|
||||
|
||||
|
||||
# Check for arch. We need to do this before extracting our toybox, since that might be
|
||||
# compiled for a different architecture. Just hope that all environments have at least
|
||||
# a proper `grep` and `uname`.
|
||||
|
Reference in New Issue
Block a user