mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-14 15:32:19 +00:00
Make version reporting consistent
This commit is contained in:
@@ -74,8 +74,11 @@ main() {
|
||||
|
||||
$BOOTMODE || recovery_actions
|
||||
|
||||
PRETTY_VER=$MAGISK_VER
|
||||
echo $PRETTY_VER | grep -q '\.' && PRETTY_VER=v$PRETTY_VER
|
||||
if echo $MAGISK_VER | grep -q '\.'; then
|
||||
PRETTY_VER=$MAGISK_VER
|
||||
else
|
||||
PRETTY_VER="$MAGISK_VER($MAGISK_VER_CODE)"
|
||||
fi
|
||||
print_title "Magisk $PRETTY_VER addon.d"
|
||||
|
||||
mount_partitions
|
||||
|
||||
Reference in New Issue
Block a user