Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions module/customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ if [ "$KSU" = true ] && [ "$KSU_VER_CODE" -lt 10670 ]; then
fi

# --- Version Info ---
VERSION=$(grep_prop version "${TMPDIR}/module.prop")
ui_print "- Installing Tricky Store OSS $VERSION"
ui_print "- Installing Tricky Store OSS $(grep_prop version "$TMPDIR/module.prop")"
ui_print ""

# --- Architecture Handling ---
Expand Down Expand Up @@ -47,15 +46,12 @@ install_file() {
}

# --- Remove any conflicting modules ---
if [ -d /data/adb/modules/oh_my_keymint ]; then
touch /data/adb/modules/oh_my_keymint/remove
ui_print "! Oh My KeyMint module will be removed on next reboot"
fi

if [ -d /data/adb/modules/teesim ]; then
touch /data/adb/modules/teesim/remove
ui_print "! TEE Simulator module will be removed on next reboot"
fi
for remove_id in oh_my_keymint teesim; do
if [ -d "/data/adb/modules/$remove_id" ]; then
touch "/data/adb/modules/$remove_id/remove"
ui_print "! $(grep_prop name "/data/adb/modules/$remove_id/module.prop") module will be removed on next reboot"
fi
done

# --- Installation ---
ui_print "- Extracting module files"
Expand Down
Loading