diff --git a/README.md b/README.md index 5947c33..df1e0ba 100755 --- a/README.md +++ b/README.md @@ -8,13 +8,13 @@ An addon module for tricky store - This is **not** a necessary module for root hide but for those who lazy to do it manually ## Requirements -- Tricky store module installed +- [Tricky store](https://github.com/5ec1cff/TrickyStore) module installed ## Custom Configuration - ADDITION and EXCLUDE in `/data/adb/tricky_store/target_list_config` - EXCLUDE for removing unnecessary apps - ADDITION for adding back system app excluded by default -- *Coming soon: Configuration list with **KSU WebUI** (For KernelSU and Apatch users only)* +- Configuration list with **KSU WebUI** (For KernelSU and Apatch, ) ## Instructions ### Automatic update @@ -30,7 +30,7 @@ An addon module for tricky store - MT manager is recommened for this method ## More -**Support to pass Patition Check Fail in Minotaur test** +**Support to pass abnormal boot state** - Put Verfied Boot Hash to `boot_hash` in `/data/adb/modules/TA_utl`, reboot. ## Acknowledgement diff --git a/changelog.md b/changelog.md index 019e531..61022ec 100755 --- a/changelog.md +++ b/changelog.md @@ -10,6 +10,9 @@ GitHub release: [Tricky Addon: Update Target List](https://github.com/KOWX712/Tr Telegram channel: [KOW's Little World](https://t.me/kowchannel) ## Changelog +### v2.0 +- Added WebUI for configuration + ### v1.7 - Fixed update issue (Will start to work in next update) diff --git a/lite-script_only/README.md b/lite-script_only/README.md index 7ae25c0..30696f9 100644 --- a/lite-script_only/README.md +++ b/lite-script_only/README.md @@ -4,7 +4,7 @@ - Recommend to run with MT manager ## Changelog -### v1.8 +### v2.0 - More clarify remark in code - Remove useless code diff --git a/lite-script_only/UpdateTargetList.sh b/lite-script_only/UpdateTargetList.sh index 1791403..ac3efc9 100644 --- a/lite-script_only/UpdateTargetList.sh +++ b/lite-script_only/UpdateTargetList.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Tricky Addon Lite: Update Target List Script v1.8 +# Tricky Addon Lite: Update Target List Script v2.0 # GitHub Repository: https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/master/lite-script_only/README.md # Telegram channel: https://t.me/kowchannel diff --git a/module/common/UpdateTargetList.sh b/module/common/UpdateTargetList.sh index 01b5cc1..bf40d6f 100644 --- a/module/common/UpdateTargetList.sh +++ b/module/common/UpdateTargetList.sh @@ -26,7 +26,6 @@ ADDITION=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$CONFIG_DIR/ADDITION") echo "- Adding apps into /data/adb/tricky_store/target.txt..." echo " " su -c pm list packages -3 &1 | cat | awk -F: '{print $2}' | grep -Ev "$EXCLUDE" > /data/adb/tricky_store/target.txt -sleep 1 echo "- Adding addition app... " echo " " diff --git a/module/customize.sh b/module/customize.sh index e400859..06e9444 100644 --- a/module/customize.sh +++ b/module/customize.sh @@ -24,7 +24,6 @@ kb="$COMPATH/.default" if [ -d "$TS" ]; then ui_print "- Tricky store module installed" - ui_print " " else ui_print "! Tricky store module is not installed" abort " " @@ -77,8 +76,10 @@ ui_print "- Installing..." if [ -f "$SCRIPT_DIR/UpdateTargetList.sh" ]; then rm -f "$SCRIPT_DIR/UpdateTargetList.sh" fi -mv "$COMPATH/UpdateTargetList.sh" "$SCRIPT_DIR/UpdateTargetList.sh" cp "$MODPATH/module.prop" "$COMPATH/module.prop.orig" +mv "$COMPATH/UpdateTargetList.sh" "$SCRIPT_DIR/UpdateTargetList.sh" + +set_perm $SCRIPT_DIR/UpdateTargetList.sh 0 2000 0755 if [ -d "$CONFIG_DIR" ]; then if [ ! -f "$CONFIG_DIR/EXCLUDE" ] && [ ! -f "$CONFIG_DIR/ADDITION" ]; then @@ -142,6 +143,5 @@ else fi fi -ui_print " " ui_print "- Installation completed successfully! " ui_print " " \ No newline at end of file diff --git a/module/module.prop b/module/module.prop index a694843..5057182 100644 --- a/module/module.prop +++ b/module/module.prop @@ -1,7 +1,7 @@ id=TA_utl name=Tricky Addon - Update Target List -version=v1.7 -versionCode=170 +version=v2.0 +versionCode=200 author=KOWX712 description=Update tricky store target list with action button. Custom config: ADDITION and EXCLUDE in /data/adb/tricky_store/target_list_config updateJson=https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/update.json diff --git a/module/webroot/index.html b/module/webroot/index.html index 1bf7b0e..01bc520 100644 --- a/module/webroot/index.html +++ b/module/webroot/index.html @@ -8,15 +8,28 @@
+