You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
Compare commits
135 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42a8f6baae | ||
|
|
befa011c15 | ||
|
|
f576b4bb2f | ||
|
|
a2b2da27f8 | ||
|
|
b3282816cb | ||
|
|
15f975ee67 | ||
|
|
11d3b34657 | ||
|
|
ad905cb6e0 | ||
|
|
5b966f5626 | ||
|
|
c500e7476a | ||
|
|
1b2a1701f4 | ||
|
|
4563a3399d | ||
|
|
873354b11c | ||
|
|
3d8ca67a6a | ||
|
|
f13e4ecca5 | ||
|
|
878a5faacf | ||
|
|
504918a289 | ||
|
|
6f9d4482a7 | ||
|
|
765444fcd5 | ||
|
|
7905ebcca5 | ||
|
|
030f48f8ce | ||
|
|
27b932ed82 | ||
|
|
d839e3ea4d | ||
|
|
119e0aa2cf | ||
|
|
d17ca1d7ef | ||
|
|
3f5832608e | ||
|
|
b06ffda6bf | ||
|
|
8f6dc6523d | ||
|
|
552758a01f | ||
|
|
6a21702f25 | ||
|
|
31a229e52b | ||
|
|
c7fa970158 | ||
|
|
9e569421cd | ||
|
|
13f020ebd0 | ||
|
|
f1ca044c4f | ||
|
|
227cbeeb5b | ||
|
|
951ae11bcd | ||
|
|
410576094a | ||
|
|
20747caa66 | ||
|
|
879735e33a | ||
|
|
a44941d482 | ||
|
|
3504ec15ce | ||
|
|
ba2e699ca5 | ||
|
|
785250d748 | ||
|
|
b227ad990c | ||
|
|
cb2d8c0192 | ||
|
|
f12fe49d17 | ||
|
|
a0b0c5ca15 | ||
|
|
69198fa458 | ||
|
|
2198313a4a | ||
|
|
85998d76fe | ||
|
|
a399c4a69a | ||
|
|
18e3048028 | ||
|
|
9b5293f7b0 | ||
|
|
375af46292 | ||
|
|
017491b652 | ||
|
|
aea3e9fff3 | ||
|
|
84b7bd9f4e | ||
|
|
9fa022bad6 | ||
|
|
ec024a2936 | ||
|
|
72d505dec5 | ||
|
|
0e06ea4902 | ||
|
|
45657574d2 | ||
|
|
315f254123 | ||
|
|
4772755965 | ||
|
|
18968a4fcb | ||
|
|
457c771cfa | ||
|
|
c5804fabdc | ||
|
|
60ae2e42f9 | ||
|
|
04394ca65d | ||
|
|
3f8ef22b83 | ||
|
|
71e6d7ec8b | ||
|
|
01300c9524 | ||
|
|
8747df3969 | ||
|
|
792e5a15a1 | ||
|
|
df7167dc55 | ||
|
|
ffa0aa461d | ||
|
|
3926980b28 | ||
|
|
a92928838b | ||
|
|
fd837d41e8 | ||
|
|
ce2164b6c2 | ||
|
|
1c1333d0c8 | ||
|
|
561de52bf7 | ||
|
|
6fe8d30ccf | ||
|
|
101bb6abd0 | ||
|
|
b7341c80bc | ||
|
|
5460a2fa5d | ||
|
|
d6d890ef10 | ||
|
|
8801513684 | ||
|
|
db6e591010 | ||
|
|
ad5e2ca551 | ||
|
|
7f431f13f3 | ||
|
|
ed379dfde5 | ||
|
|
3dd007882b | ||
|
|
0607f2d223 | ||
|
|
6a5fb6c717 | ||
|
|
6561ea861b | ||
|
|
f4085f8cf0 | ||
|
|
336efb8d3e | ||
|
|
9e57c81a66 | ||
|
|
cfa17eea26 | ||
|
|
dbed7f9f90 | ||
|
|
5352e8604e | ||
|
|
ff18585543 | ||
|
|
b50e9aa086 | ||
|
|
213c4a2f13 | ||
|
|
f4860d1a00 | ||
|
|
e192fcc916 | ||
|
|
7a2c87b365 | ||
|
|
a1f4d8fc72 | ||
|
|
7f7c124b25 | ||
|
|
90696c5c5d | ||
|
|
9cbb73bab0 | ||
|
|
d9eb97cb3c | ||
|
|
e848da327b | ||
|
|
67581ae941 | ||
|
|
91dea027ce | ||
|
|
5806ab16d7 | ||
|
|
0736f4ea38 | ||
|
|
ff8a768a00 | ||
|
|
af3f8b88c0 | ||
|
|
40f1e8d69e | ||
|
|
82d803c2db | ||
|
|
68158796dc | ||
|
|
3015fd44ba | ||
|
|
605a4c8c90 | ||
|
|
439ae0332a | ||
|
|
6f7108543f | ||
|
|
596c92ba18 | ||
|
|
1f3c1e960a | ||
|
|
383a7eeb5f | ||
|
|
2e71b6512b | ||
|
|
bcfb8c12ad | ||
|
|
e9346303ac | ||
|
|
cc77b95f5c |
124
.github/workflows/build.yml
vendored
Normal file
124
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,124 @@
|
||||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'module/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: build
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
version_tag_exists: ${{ steps.check_tag.outputs.version_tag_exists }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 2
|
||||
fetch-tags: true
|
||||
|
||||
- name: Extract Module Info
|
||||
id: extract_info
|
||||
run: |
|
||||
MODULE_VERSION=$(grep -oP '^version=\K.*' module/module.prop)
|
||||
BUILD_COUNT=$((1000 + ${{ github.run_number }}))
|
||||
ARTIFACT_NAME="TrickyAddonModule-${MODULE_VERSION}-canary-${BUILD_COUNT}"
|
||||
echo "MODULE_VERSION=${MODULE_VERSION}" >> $GITHUB_ENV
|
||||
echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >> $GITHUB_ENV
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ env.ARTIFACT_NAME }}
|
||||
path: module/
|
||||
include-hidden-files: true
|
||||
|
||||
- name: Check if valid to release
|
||||
id: check_tag
|
||||
run: |
|
||||
VERSION=$(grep '^version=' module/module.prop | sed 's/version=//')
|
||||
git fetch --tags
|
||||
if git tag | grep -qx "^$VERSION"; then
|
||||
echo "version_tag_exists=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "version_tag_exists=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
release:
|
||||
name: release
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: ${{ needs.build.outputs.version_tag_exists == 'false' }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
||||
- name: Configure Git user
|
||||
run: |
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --global user.name "github-actions[bot]"
|
||||
|
||||
- name: Create a new tag
|
||||
run: |
|
||||
VERSION=$(grep '^version=' module/module.prop | sed 's/version=//')
|
||||
git tag -a "$VERSION" -m "Release version $VERSION"
|
||||
git push origin "$VERSION"
|
||||
|
||||
- name: Set release variables
|
||||
id: set_release_variables
|
||||
run: |
|
||||
VERSION=$(grep '^version=' module/module.prop | sed 's/version=//')
|
||||
CURRENT_TAG="$VERSION"
|
||||
RELEASE_NOTES=$(awk -v tag="### $CURRENT_TAG" '
|
||||
$0 == tag {flag=1; next}
|
||||
/^###/ && flag {exit}
|
||||
flag {print}
|
||||
' changelog.md)
|
||||
|
||||
if [[ "$VERSION" == *"beta"* ]]; then
|
||||
PRERELEASE=true
|
||||
FORMATTED_RELEASE_NOTES=$(echo -e "- Due to extensive code refactoring, you might encounter unexpected bugs in this version, feedback in [Telegram](https://t.me/kowchannel) or [create issue](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/issues) if you found any issues.\n---\n### Tricky Addon module\n$RELEASE_NOTES")
|
||||
FILES="TrickyAddonModule-${VERSION}.zip"
|
||||
else
|
||||
PRERELEASE=false
|
||||
FORMATTED_RELEASE_NOTES=$(echo -e "### Tricky Addon module\n$RELEASE_NOTES\n---\n### Tricky Addon Lite - script only\n- Check on [changelog](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/tree/main/lite-script_only#tricky-addon-lite-update-target-list-script)")
|
||||
FILES="TrickyAddonModule-${VERSION}.zip,TrickyAddonLite_ScriptOnly_Extract-${VERSION}.zip"
|
||||
fi
|
||||
|
||||
echo "CURRENT_TAG=$CURRENT_TAG" >> $GITHUB_ENV
|
||||
echo "ZIP_NAME=TrickyAddonModule-${VERSION}.zip" >> $GITHUB_ENV
|
||||
echo "LITE_SCRIPT_ONLY_ZIP_NAME=TrickyAddonLite_ScriptOnly_Extract-${VERSION}.zip" >> $GITHUB_ENV
|
||||
echo "RELEASE_NOTES<<EOF" >> $GITHUB_ENV
|
||||
echo "$FORMATTED_RELEASE_NOTES" >> $GITHUB_ENV
|
||||
echo "EOF" >> $GITHUB_ENV
|
||||
echo "FILES=$FILES" >> $GITHUB_ENV
|
||||
echo "PRERELEASE=$PRERELEASE" >> $GITHUB_ENV
|
||||
|
||||
- name: Compress module folder
|
||||
run: |
|
||||
cd module && zip -r "../${{ env.ZIP_NAME }}" ./*
|
||||
echo "Created zip file: ${{ env.ZIP_NAME }}"
|
||||
|
||||
- name: Compress lite-script_only folder
|
||||
if: ${{ env.PRERELEASE == 'false' }}
|
||||
run: |
|
||||
cd lite-script_only && zip -r "../${{ env.LITE_SCRIPT_ONLY_ZIP_NAME }}" ./*
|
||||
echo "Created zip file: ${{ env.LITE_SCRIPT_ONLY_ZIP_NAME }}"
|
||||
|
||||
- name: Create release
|
||||
uses: softprops/action-gh-release@v2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
files: ${{ env.FILES }}
|
||||
tag_name: ${{ env.CURRENT_TAG }}
|
||||
name: ${{ env.CURRENT_TAG }}
|
||||
body: ${{ env.RELEASE_NOTES }}
|
||||
draft: false
|
||||
prerelease: ${{ env.PRERELEASE }}
|
||||
57
README.md
57
README.md
@@ -1,37 +1,42 @@
|
||||
# **Tricky Addon - Update Target List**
|
||||
A **KSU WebUI** to configure tricky store target.txt
|
||||
# Tricky Addon - Update Target List
|
||||
Configure Tricky Store target.txt with KSU WebUI.
|
||||
|
||||
---
|
||||
## Description
|
||||
- Automated script to update tricky store target list.
|
||||
- System app excluded by default
|
||||
- This is **not** a necessary module for root hide but for those who lazy to do it manually
|
||||
> [!NOTE]
|
||||
> _This module is **not** a part of the Tricky Store module. DO NOT report any issues to Tricky Store if encountered._
|
||||
|
||||
## Requirements
|
||||
- [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
|
||||
- Configuration list with **KSU WebUI** (KernelSU & Apatch, For Magisk users: [KSU WebUI standalone](https://github.com/5ec1cff/KsuWebUIStandalone))
|
||||
|
||||
## Instructions
|
||||
### Automatic update
|
||||
- On boot
|
||||
### KernelSU & Apatch
|
||||
- KSU WebUI
|
||||
|
||||
### Manually update
|
||||
**Action button method**
|
||||
- Use action button to update tricky store target list.
|
||||
- Available for Magisk 27008+, KernelSU 11981+, Apatch 10927+
|
||||
### Magisk
|
||||
- Action button to open WebUI
|
||||
- Support KSUWebUIStandalone and latest MMRL
|
||||
- Automatic install [KSUWebUIStandalone](https://github.com/5ec1cff/KsuWebUIStandalone) if none of them are installed.
|
||||
|
||||
**Manual script method**
|
||||
- Run `UpdateTargetList.sh` under `/data/adb/tricky_store` manually.
|
||||
- MT manager is recommened for this method
|
||||
### Module Visibility
|
||||
| Visibility | Behavior|
|
||||
| :--- | :--- |
|
||||
| Invisible | <li>Action/WebUI on the Tricky Store module card.</li><li>Uninstall by pressing the uninstall button at the bottom part of WebUI.</li> |
|
||||
| Visible | <li>For those who having trouble with KSUWebUIStandalone, such as</li><ul><li>using an old version of Magisk that lacks the action button</li><li>KSU built-in WebUI freeze</li></ul> |
|
||||
|
||||
## More
|
||||
**Support to pass abnormal boot state**
|
||||
- Put Verfied Boot Hash to `boot_hash` in `/data/adb/modules/TA_utl`, reboot.
|
||||
### What Can This Module Do
|
||||
| Feature | Status |
|
||||
|:---|:---:|
|
||||
| Configure target.txt with app name display | ✅ |
|
||||
| Select apps from Magisk DenyList (optional) | ✅ |
|
||||
| Set verifiedBootHash (optional) | ✅ |
|
||||
| Provide AOSP Keybox (optional) | ✅ |
|
||||
| Valid Keybox (not guaranteed) | ❌ |
|
||||
| Shamiko Whitelist switch ([Why?](https://github.com/rushizgithub/shamiko?tab=readme-ov-file#whitelist)) | ❌ |
|
||||
| Add `!` or `?` to the target ([Not needed](https://github.com/5ec1cff/TrickyStore/releases/tag/1.1.0)) | ❌ |
|
||||
| Periodically update target and add new apps | ❌ |
|
||||
| Add system apps (GMS added by default) | ❌ |
|
||||
|
||||
## Translation
|
||||
- Read [Translation Guide](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/main/module/webroot/locales/A-translate.md)
|
||||
|
||||
## Acknowledgement
|
||||
- [j-hc/zygisk-detach](https://github.com/j-hc/zygisk-detach) - KSU WebUI template
|
||||
@@ -39,4 +44,6 @@ A **KSU WebUI** to configure tricky store target.txt
|
||||
## Links
|
||||
Download: [GitHub release](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases)
|
||||
|
||||
Update history: Read [Changelog](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/main/changelog.md)
|
||||
|
||||
Telegram channel: [KOW's Little World](https://t.me/kowchannel)
|
||||
|
||||
60
changelog.md
60
changelog.md
@@ -1,19 +1,67 @@
|
||||
### Tricky Addon: Update Target List
|
||||
Automated script to update tricky store target.txt
|
||||
A **KSU WebUI** to configure tricky store target.txt
|
||||
|
||||
Requirement: Tricky Store module installed
|
||||
|
||||
Manually add VerifiedBootHash to /data/adb/modules/TA_utl/boot_hash (optional)
|
||||
*This module is **not** a part of the Tricky Store module. DO NOT report any issues to Tricky Store if encountered.*
|
||||
|
||||
GitHub release: [Tricky Addon: Update Target List](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/latest)
|
||||
|
||||
Telegram channel: [KOW's Little World](https://t.me/kowchannel)
|
||||
|
||||
## Changelog
|
||||
### v2.7.1
|
||||
- Link redirect quick fix
|
||||
|
||||
### v2.7
|
||||
- Abandoned `UpdateTargetList.sh`; No longer automatically update target on boot.
|
||||
- Adapted with MMRL, Magisk user can uninstall KSUWebUIStandalone if you have latest MMRL installed, action button will redirect to MMRL if KSUWebUIStandalone not found.
|
||||
- New update card for invisible module.
|
||||
- Improved UI.
|
||||
- Press any position of app card to select/deselct.
|
||||
|
||||
### v2.6
|
||||
- Invisible module, intergrate action button & webui on tricky store card. You can stil use visible option if you found any issue with invisble module. Thanks for idea from @backslashxx.
|
||||
- To uninstall invisble module, scroll down to the bottom of WebUI and press Uninstall WebUI.
|
||||
- Add update prompt if found new version in webui, and show module if found an update. (invisible)
|
||||
- Reduced WebUI loading time
|
||||
- Added feature to save verifiedBootHash
|
||||
- New way to detect Xposed module, now can catch all Xposed module apk package name in Deselect Unnecessary option, feedback in [Telegram](https://t.me/kowchannel) or [create issue](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/issues) if missed any.
|
||||
- **Initial support for multiple languages**
|
||||
- Language available: **en-US**, **ru-RU**, **tl-PH**, **zh-CN**, **zh-TW**
|
||||
- Add language or fix translation error? [Read here](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/tree/master/module/webroot/locales/A-translate.md).
|
||||
|
||||
### v2.6-beta.3
|
||||
- Check in [release notes](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/tag/v2.6-beta.3).
|
||||
|
||||
### v2.6-beta.2
|
||||
- Check in [release notes](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/tag/v2.6-beta.2).
|
||||
|
||||
### v2.6-beta.1
|
||||
- Check in [release notes](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/tag/v2.6-beta.1).
|
||||
|
||||
### v2.5
|
||||
- Remove kb prompt on installation, moved into WebUI
|
||||
- Restore to AOSP keybox during uninstallation
|
||||
|
||||
### v2.4
|
||||
- Added aapt binary for app name display
|
||||
|
||||
- **KSU WebUI:**
|
||||
- Added app name display
|
||||
|
||||
### v2.3
|
||||
- Removed curl binary
|
||||
- Moved boot_hash to /data/adb to prevent overwrite
|
||||
- Stop TSP-A auto target to prevent overwrite
|
||||
- Abandoned action button in KernelSU and Apatch
|
||||
- Magisk action button: open WebUI, automatic download if not installed (optional)
|
||||
|
||||
- **KSU WebUI:**
|
||||
- Option to select app from DenyList (Magisk)
|
||||
|
||||
### v2.2
|
||||
**KSU WebUI**
|
||||
- **KSU WebUI:**
|
||||
- Added help menu
|
||||
- Added extra [unnecessary app](https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/more-excldue.json) exclude option
|
||||
- Added extra [unnecessary app](https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/more-excldue.json) exclude option
|
||||
- Added no Internet connection prompt
|
||||
|
||||
### v2.1
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
- Recommend to run with MT manager
|
||||
|
||||
## Changelog
|
||||
### v2.1, v2.2
|
||||
### v2.1, v2.2, v2.3, v2.4, v2.5, v2.6
|
||||
- Remain same with v2.0
|
||||
|
||||
### v2.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Tricky Addon Lite: Update Target List Script v2.2
|
||||
# Tricky Addon Lite: Update Target List Script v2.5
|
||||
# GitHub Repository: https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/master/lite-script_only/README.md
|
||||
# Telegram channel: https://t.me/kowchannel
|
||||
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
###########################################
|
||||
## This file is NOT a part of Tricky Store
|
||||
###########################################
|
||||
|
||||
MODPATH="/data/adb/modules/.TA_utl"
|
||||
COMPATH="$MODPATH/common"
|
||||
SCRIPT_DIR="/data/adb/tricky_store"
|
||||
|
||||
echo "**********************************************"
|
||||
echo "- Staring script..."
|
||||
echo " "
|
||||
. "$COMPATH/util_func.sh"
|
||||
|
||||
if [ ! -f "$SCRIPT_DIR/UpdateTargetList.sh" ]; then
|
||||
echo "! Script missing, please install module again"
|
||||
echo "**********************************************"
|
||||
exit 1
|
||||
if pm list packages | grep -q "$PACKAGE_NAME"; then
|
||||
echo "- Launching WebUI in KSUWebUIStandalone..."
|
||||
am start -n "${PACKAGE_NAME}/.WebUIActivity" -e id "$MODID"
|
||||
elif pm list packages | grep -q "com.dergoogler.mmrl"; then
|
||||
echo "- Launching WebUI in MMRL WebUI..."
|
||||
am start -n "com.dergoogler.mmrl/.ui.activity.webui.WebUIActivity" -e MOD_ID "$MODID"
|
||||
else
|
||||
. "$SCRIPT_DIR/UpdateTargetList.sh"
|
||||
fi
|
||||
|
||||
echo "**********************************************"
|
||||
echo "\(__All set!__)/"
|
||||
echo "Exiting in 2 seconds..."
|
||||
sleep 2
|
||||
echo "- Installing KSU WebUI..."
|
||||
. "$COMPATH/get_WebUI.sh"
|
||||
fi
|
||||
BIN
module/bin/arm64-v8a/aapt
Normal file
BIN
module/bin/arm64-v8a/aapt
Normal file
Binary file not shown.
Binary file not shown.
BIN
module/bin/armeabi-v7a/aapt
Normal file
BIN
module/bin/armeabi-v7a/aapt
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -1,8 +0,0 @@
|
||||
# This is the list of additional apps to include in the target file
|
||||
# DO NOT remove the default app here
|
||||
# You can add your custom addition app's package name here
|
||||
# Each app package name should be on a new line
|
||||
com.google.android.gms
|
||||
io.github.vvb2060.keyattestation
|
||||
io.github.vvb2060.mahoshojo
|
||||
icu.nullptr.nativetest
|
||||
@@ -1,10 +0,0 @@
|
||||
# This is the list of apps to exclude from the target file
|
||||
# DO NOT remove the default app here
|
||||
# You can add your custom exclusion app here
|
||||
# Each app package name should be on a new line
|
||||
oneplus
|
||||
coloros
|
||||
miui
|
||||
com.android.patch
|
||||
me.bmax.apatch
|
||||
me.garfieldhan.apatch.next
|
||||
@@ -1,40 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# This script will put non-system app into /data/adb/tricky_store/target.txt
|
||||
CONFIG_DIR="/data/adb/tricky_store/target_list_config"
|
||||
|
||||
echo "- Checking config files..."
|
||||
echo " "
|
||||
if [ ! -f "$CONFIG_DIR/EXCLUDE" ]; then
|
||||
echo "! Exclude list is missing, please install module again"
|
||||
exit 1
|
||||
else
|
||||
echo "- Exclude config file found"
|
||||
echo " "
|
||||
fi
|
||||
if [ ! -f "$CONFIG_DIR/ADDITION" ]; then
|
||||
echo "! Addition list is missing, please install module again"
|
||||
exit 1
|
||||
else
|
||||
echo "- Addition config file found"
|
||||
echo " "
|
||||
fi
|
||||
|
||||
EXCLUDE=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$CONFIG_DIR/EXCLUDE" | sed 's/^[[:space:]]*//;s/[[:space:]]*$//' | tr '\n' '|' | sed 's/|$//')
|
||||
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 </dev/null 2>&1 | cat | awk -F: '{print $2}' | grep -Ev "$EXCLUDE" > /data/adb/tricky_store/target.txt
|
||||
|
||||
echo "- Adding addition app... "
|
||||
echo " "
|
||||
for app in $ADDITION; do
|
||||
app=$(echo "$app" | tr -d '[:space:]')
|
||||
if ! grep -Fq "$app" /data/adb/tricky_store/target.txt; then
|
||||
echo "$app" >> /data/adb/tricky_store/target.txt
|
||||
fi
|
||||
done
|
||||
|
||||
echo "- target.txt updated successfully"
|
||||
echo " "
|
||||
27
module/common/get_WebUI.sh
Normal file
27
module/common/get_WebUI.sh
Normal file
@@ -0,0 +1,27 @@
|
||||
URL="https://github.com/5ec1cff/KsuWebUIStandalone/releases/download/v1.0/KsuWebUI-1.0-34-release.apk"
|
||||
APK_DIR="$COMPATH"
|
||||
|
||||
find_busybox
|
||||
check_wget
|
||||
|
||||
echo "- Downloading the WebUI apk..."
|
||||
download_webui
|
||||
echo "- Download complete."
|
||||
|
||||
APK_PATH=$(find "$APK_DIR" -type f -name "*.apk" | head -n 1)
|
||||
if [ -z "$APK_PATH" ]; then
|
||||
echo "Error: No APK file found in $APK_DIR."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "- Installing..."
|
||||
install_webui
|
||||
echo "- Done."
|
||||
rm -f "$APK_PATH"
|
||||
echo "- Launching..."
|
||||
am start -n "${PACKAGE_NAME}/.WebUIActivity" -e id "$MODID" </dev/null 2>&1 | cat
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error: Failed to start application."
|
||||
exit 1
|
||||
fi
|
||||
echo "- Application launched successfully."
|
||||
@@ -1,18 +0,0 @@
|
||||
#!/system/bin/sh
|
||||
|
||||
MODPATH=${0%/*}
|
||||
OUTPUT="$MODPATH/exclude-list"
|
||||
|
||||
if ! curl -s "https://modules.lsposed.org/modules.json" > /dev/null; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Fetch Xposed module package names
|
||||
curl -s "https://modules.lsposed.org/modules.json" | \
|
||||
grep -o '"name":"[^"]*","description":' | \
|
||||
awk -F'"' '{print $4}' > "$OUTPUT"
|
||||
|
||||
# Fetch additional package names
|
||||
curl -s "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/more-excldue.json" | \
|
||||
grep -o '"package-name": *"[^"]*"' | \
|
||||
awk -F'"' '{print $4}' >> "$OUTPUT"
|
||||
49
module/common/get_extra.sh
Normal file
49
module/common/get_extra.sh
Normal file
@@ -0,0 +1,49 @@
|
||||
#!/system/bin/sh
|
||||
|
||||
MODPATH=${0%/*}
|
||||
SKIPLIST="$MODPATH/skiplist"
|
||||
OUTPUT="$MODPATH/exclude-list"
|
||||
KBOUTPUT="$MODPATH/.extra"
|
||||
|
||||
. $MODPATH/util_func.sh
|
||||
|
||||
find_busybox
|
||||
check_wget
|
||||
|
||||
# Fetch additional package names
|
||||
wget --no-check-certificate -q -O - "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/more-excldue.json" 2>/dev/null | \
|
||||
grep -o '"package-name": *"[^"]*"' | \
|
||||
awk -F'"' '{print $4}' > "$OUTPUT"
|
||||
|
||||
if [ ! -s "$OUTPUT" ]; then
|
||||
rm -f "$KBOUTPUT"
|
||||
skipfetch=true
|
||||
fi
|
||||
|
||||
# Find xposed package name
|
||||
pm list packages -3 </dev/null 2>&1 | cat | awk -F: '{print $2}' | while read -r PACKAGE; do
|
||||
if ! grep -Fq "$PACKAGE" "$SKIPLIST"; then
|
||||
pm path "$PACKAGE" | grep "base.apk" | awk -F: '{print $2}' | tr -d '\r' | while read -r APK_PATH; do
|
||||
aapt dump xmltree "$APK_PATH" AndroidManifest.xml 2>/dev/null | grep -qE "xposed.category|xposeddescription" && echo "$PACKAGE" >> "$OUTPUT"
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$skipfetch" != "true" ]; then
|
||||
wget --no-check-certificate -qO "$KBOUTPUT" "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/.extra"
|
||||
|
||||
if [ ! -s "$KBOUTPUT" ]; then
|
||||
rm -f "$KBOUTPUT"
|
||||
fi
|
||||
|
||||
if [ -d "$MODPATH/temp" ]; then
|
||||
JSON=$(wget --no-check-certificate -q -O - "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/update.json")
|
||||
REMOTE_VERSION=$(echo "$JSON" | grep -o '"versionCode": *[0-9]*' | awk -F: '{print $2}' | tr -d ' ')
|
||||
LOCAL_VERSION=$(grep -o 'versionCode=[0-9]*' "$MODPATH/temp/module.prop" | awk -F= '{print $2}')
|
||||
if [ "$REMOTE_VERSION" -gt "$LOCAL_VERSION" ]; then
|
||||
echo "update"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
3
module/common/temp/service.sh
Normal file
3
module/common/temp/service.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
MODPATH=${0%/*}
|
||||
|
||||
rm -rf "$MODPATH"
|
||||
46
module/common/util_func.sh
Normal file
46
module/common/util_func.sh
Normal file
@@ -0,0 +1,46 @@
|
||||
PACKAGE_NAME="io.github.a13e300.ksuwebui"
|
||||
MODID="set-id"
|
||||
BBPATH="/data/adb/modules/busybox-ndk/system/*/busybox \
|
||||
/data/adb/magisk/busybox \
|
||||
/data/adb/ksu/bin/busybox \
|
||||
/data/adb/ap/bin/busybox"
|
||||
|
||||
find_busybox() {
|
||||
for path in $BBPATH; do
|
||||
if [ -f "$path" ]; then
|
||||
BUSYBOX="$path"
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
return 1
|
||||
}
|
||||
|
||||
check_wget() {
|
||||
if ! command -v wget >/dev/null || grep -q "wget-curl" "$(command -v wget)"; then
|
||||
if find_busybox; then
|
||||
wget() { "$BUSYBOX" wget "$@"; }
|
||||
else
|
||||
echo "Error: busybox not found." > "$OUTPUT"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
aapt() { "$MODPATH/aapt" "$@"; }
|
||||
|
||||
download_webui() {
|
||||
wget --no-check-certificate -P "$APK_DIR" "$URL"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error: APK download failed."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
install_webui() {
|
||||
pm install -r "$APK_PATH" </dev/null 2>&1 | cat
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error: APK installation failed."
|
||||
rm -f "$APK_PATH"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
@@ -1,11 +1,20 @@
|
||||
SKIPUNZIP=0
|
||||
DEBUG=false
|
||||
COMPATH="$MODPATH/common"
|
||||
TS="/data/adb/modules/tricky_store"
|
||||
SCRIPT_DIR="/data/adb/tricky_store"
|
||||
CONFIG_DIR="$SCRIPT_DIR/target_list_config"
|
||||
MODID=`grep_prop id $TMPDIR/module.prop`
|
||||
NEW_MODID=".TA_utl"
|
||||
kb="$COMPATH/.default"
|
||||
|
||||
ui_print " ";
|
||||
if [ "$APATCH" ]; then
|
||||
ui_print "- APatch:$APATCH_VER│$APATCH_VER_CODE"
|
||||
ACTION=false
|
||||
elif [ "$KSU" ]; then
|
||||
ui_print "- KSU:$KSU_KERNEL_VER_CODE│$KSU_VER_CODE"
|
||||
ACTION=false
|
||||
elif [ "$MAGISK_VER_CODE" ]; then
|
||||
ui_print "- Magisk:$MAGISK_VER│$MAGISK_VER_CODE"
|
||||
else
|
||||
@@ -14,14 +23,6 @@ else
|
||||
abort " ";
|
||||
fi
|
||||
|
||||
COMPATH="$MODPATH/common"
|
||||
TS="/data/adb/modules/tricky_store"
|
||||
SCRIPT_DIR="/data/adb/tricky_store"
|
||||
CONFIG_DIR="$SCRIPT_DIR/target_list_config"
|
||||
MODNAME=$(grep '^id=' "$MODPATH/module.prop" | awk -F= '{print $2}' | xargs)
|
||||
ORG_DIR="/data/adb/modules/$MODNAME"
|
||||
kb="$COMPATH/.default"
|
||||
|
||||
if [ ! -d "$TS" ]; then
|
||||
ui_print "! Tricky store module is not installed"
|
||||
abort
|
||||
@@ -36,15 +37,7 @@ ui_print "- Creating config directory..."
|
||||
find_config
|
||||
migrate_old_boot_hash
|
||||
|
||||
ui_print "*********************************************"
|
||||
ui_print "- Do you want to replace tricky store keybox? (AOSP, no strong)"
|
||||
ui_print " VOL [+]: YES"
|
||||
ui_print " VOL [-]: NO"
|
||||
ui_print "*********************************************"
|
||||
key_check
|
||||
kb_operation
|
||||
|
||||
rm -f "$MODPATH/install_func.sh"
|
||||
|
||||
ui_print "- Installation completed successfully! "
|
||||
ui_print " "
|
||||
ui_print " "
|
||||
|
||||
@@ -2,84 +2,65 @@ initialize() {
|
||||
if [ -f "$SCRIPT_DIR/UpdateTargetList.sh" ]; then
|
||||
rm -f "$SCRIPT_DIR/UpdateTargetList.sh"
|
||||
fi
|
||||
cp "$MODPATH/module.prop" "$COMPATH/module.prop.orig"
|
||||
mv "$COMPATH/UpdateTargetList.sh" "$SCRIPT_DIR/UpdateTargetList.sh"
|
||||
if [ -d "/data/adb/modules/$NEW_MODID" ]; then
|
||||
rm -rf "/data/adb/modules/$NEW_MODID"
|
||||
fi
|
||||
|
||||
sed -i "s|\"set-path\"|\"/data/adb/modules/$MODNAME/common/\"|" "$MODPATH/webroot/index.js" || {
|
||||
ui_print "! Failed to replace path"
|
||||
set_perm $COMPATH/get_extra.sh 0 2000 0755
|
||||
set_perm $COMPATH/get_WebUI.sh 0 2000 0755
|
||||
|
||||
if [ "$ACTION" = "false" ]; then
|
||||
rm -f "$MODPATH/action.sh"
|
||||
rm -f "$COMPATH/get_WebUI.sh"
|
||||
echo "**********************************************"
|
||||
echo "- Tricky Addon's visibility in root manager?"
|
||||
echo " VOL [+]: Visible"
|
||||
echo " VOL [-]: Invisible (default)"
|
||||
echo "**********************************************"
|
||||
|
||||
key_check
|
||||
if [[ "$keycheck" == "KEY_VOLUMEUP" ]]; then
|
||||
echo "- Setting to visible..."
|
||||
rm -rf "$COMPATH/temp"
|
||||
NEW_MODID="$MODID"
|
||||
else
|
||||
tmp_dir
|
||||
fi
|
||||
else
|
||||
tmp_dir
|
||||
fi
|
||||
sed -i "s|\"set-path\"|\"/data/adb/modules/$NEW_MODID/\"|" "$MODPATH/webroot/index.js" || {
|
||||
ui_print "! Failed to set path"
|
||||
abort
|
||||
}
|
||||
|
||||
# handle missing binary
|
||||
if [ ! -f "/system/bin/curl" ]; then
|
||||
mkdir -p "$MODPATH/system/bin"
|
||||
mv "$MODPATH/bin/$(getprop ro.product.cpu.abi)/curl" "$MODPATH/system/bin/curl"
|
||||
set_perm "$MODPATH/system/bin/curl" 0 2000 0777
|
||||
fi
|
||||
sed -i "s|\"set-id\"|\"$NEW_MODID\"|" "$COMPATH/util_func.sh" || {
|
||||
ui_print "! Failed to set id"
|
||||
abort
|
||||
}
|
||||
|
||||
mv "$MODPATH/bin/$(getprop ro.product.cpu.abi)/aapt" "$COMPATH/aapt"
|
||||
set_perm $COMPATH/aapt 0 2000 0755
|
||||
rm -rf "$MODPATH/bin"
|
||||
|
||||
set_perm $SCRIPT_DIR/UpdateTargetList.sh 0 2000 0755
|
||||
set_perm $COMPATH/get_exclude-list.sh 0 2000 0755
|
||||
}
|
||||
|
||||
add_exclude() {
|
||||
EXCLUDE=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$CONFIG_DIR/EXCLUDE")
|
||||
for app in $EXCLUDE; do
|
||||
app=$(echo "$app" | tr -d '[:space:]')
|
||||
if ! grep -Fq "$app" $COMPATH/EXCLUDE; then
|
||||
echo "$app" >> $COMPATH/EXCLUDE
|
||||
fi
|
||||
done
|
||||
mv "$COMPATH/EXCLUDE" "$CONFIG_DIR/EXCLUDE"
|
||||
}
|
||||
|
||||
add_addition() {
|
||||
ADDITION=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$CONFIG_DIR/ADDITION")
|
||||
for app in $ADDITION; do
|
||||
app=$(echo "$app" | tr -d '[:space:]')
|
||||
if ! grep -Fq "$app" $COMPATH/ADDITION; then
|
||||
echo "$app" >> $COMPATH/ADDITION
|
||||
fi
|
||||
done
|
||||
mv "$COMPATH/ADDITION" "$CONFIG_DIR/ADDITION"
|
||||
tmp_dir() {
|
||||
mkdir -p "$COMPATH/temp/common"
|
||||
cp "$COMPATH/.default" "$COMPATH/temp/common/.default"
|
||||
cp "$MODPATH/module.prop" "$COMPATH/temp/module.prop"
|
||||
cp "$MODPATH/uninstall.sh" "$COMPATH/temp/uninstall.sh"
|
||||
}
|
||||
|
||||
find_config() {
|
||||
if [ -d "$CONFIG_DIR" ]; then
|
||||
if [ ! -f "$CONFIG_DIR/EXCLUDE" ] && [ ! -f "$CONFIG_DIR/ADDITION" ]; then
|
||||
mv "$COMPATH/EXCLUDE" "$CONFIG_DIR/EXCLUDE"
|
||||
mv "$COMPATH/ADDITION" "$CONFIG_DIR/ADDITION"
|
||||
elif [ ! -f "$CONFIG_DIR/ADDITION" ]; then
|
||||
mv "$COMPATH/ADDITION" "$CONFIG_DIR/ADDITION"
|
||||
add_exclude
|
||||
elif [ ! -f "$CONFIG_DIR/EXCLUDE" ]; then
|
||||
mv "$COMPATH/EXCLUDE" "$CONFIG_DIR/EXCLUDE"
|
||||
add_addition
|
||||
else
|
||||
add_exclude
|
||||
add_addition
|
||||
fi
|
||||
else
|
||||
mkdir -p "$CONFIG_DIR"
|
||||
mv "$COMPATH/EXCLUDE" "$CONFIG_DIR/EXCLUDE"
|
||||
mv "$COMPATH/ADDITION" "$CONFIG_DIR/ADDITION"
|
||||
rm -rf "$CONFIG_DIR"
|
||||
fi
|
||||
}
|
||||
|
||||
migrate_old_boot_hash() {
|
||||
if [ ! -f "$ORG_DIR/boot_hash" ]; then
|
||||
mv "$COMPATH/boot_hash" "$MODPATH/boot_hash"
|
||||
if [ ! -f "/data/adb/boot_hash" ]; then
|
||||
mv "$COMPATH/boot_hash" "/data/adb/boot_hash"
|
||||
else
|
||||
rm -f "$COMPATH/boot_hash"
|
||||
mv "$ORG_DIR/boot_hash" "$MODPATH/boot_hash"
|
||||
fi
|
||||
|
||||
# Migrate from old version setup
|
||||
if [ -f "$ORG_DIR/system.prop" ]; then
|
||||
hash_value=$(sed -n 's/^ro.boot.vbmeta.digest=//p' "$ORG_DIR/system.prop")
|
||||
if [ -n "$hash_value" ]; then
|
||||
echo -e "\n$hash_value" >> "$MODPATH/boot_hash"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -101,26 +82,4 @@ key_check() {
|
||||
break
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
kb_operation() {
|
||||
if [[ "$keycheck" == "KEY_VOLUMEUP" ]]; then
|
||||
ui_print "- Backing up original keybox..."
|
||||
ui_print "- Replacing keybox..."
|
||||
ui_print "*********************************************"
|
||||
|
||||
if [ -f "$ORG_DIR/common/origkeybox" ]; then
|
||||
mv "$ORG_DIR/common/origkeybox" "$COMPATH/origkeybox"
|
||||
else
|
||||
mv "$SCRIPT_DIR/keybox.xml" "$COMPATH/origkeybox"
|
||||
fi
|
||||
|
||||
mv "$kb" "$SCRIPT_DIR/keybox.xml"
|
||||
else
|
||||
if [ -f "$ORG_DIR/common/origkeybox" ]; then
|
||||
mv "$ORG_DIR/common/origkeybox" "$COMPATH/origkeybox"
|
||||
else
|
||||
rm -f "$kb"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
id=TA_utl
|
||||
name=Tricky Addon - Update Target List
|
||||
version=v2.2
|
||||
versionCode=220
|
||||
version=v2.7.1
|
||||
versionCode=271
|
||||
author=KOWX712
|
||||
description=Update tricky store target.txt. 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
|
||||
description=A WebUI to conifgure tricky store target.txt
|
||||
updateJson=https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/update.json
|
||||
|
||||
24
module/post-fs-data.sh
Normal file
24
module/post-fs-data.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
MODPATH=${0%/*}
|
||||
TS="/data/adb/modules/tricky_store"
|
||||
|
||||
while [ -z "$(ls -A /data/adb/modules/)" ]; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
if [ ! -d "$TS" ] || [ -f "$TS/remove" ]; then
|
||||
if [ -d "$MODPATH/common/temp" ]; then
|
||||
mkdir -p "/data/adb/modules/TA_utl"
|
||||
cp -rf "$MODPATH/common/temp"/* "/data/adb/modules/TA_utl/"
|
||||
touch "/data/adb/modules/TA_utl/remove"
|
||||
else
|
||||
touch "$MODPATH/remove"
|
||||
fi
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d "$MODPATH/common/temp" ]; then
|
||||
rm -rf "/data/adb/modules/.TA_utl"
|
||||
fi
|
||||
|
||||
rm -f "$TS/action.sh"
|
||||
rm -rf "$TS/webroot"
|
||||
@@ -1,31 +1,55 @@
|
||||
MODPATH=${0%/*}
|
||||
HIDE_DIR="/data/adb/modules/.TA_utl"
|
||||
TS="/data/adb/modules/tricky_store"
|
||||
SCRIPT_DIR="/data/adb/tricky_store"
|
||||
TSPA="/data/adb/modules/tsupport-advance"
|
||||
|
||||
hash_value=$(grep -v '^#' "$MODPATH/boot_hash" | tr -d '[:space:]')
|
||||
aapt() { "$MODPATH/common/aapt" "$@"; }
|
||||
|
||||
hash_value=$(grep -v '^#' "/data/adb/boot_hash" | tr -d '[:space:]')
|
||||
if [ -n "$hash_value" ]; then
|
||||
resetprop -n ro.boot.vbmeta.digest "$hash_value"
|
||||
fi
|
||||
|
||||
if [ ! -f "$MODPATH/common/module.prop.orig" ]; then
|
||||
sed -i 's/^description=.*/description=Module is corrupted, please reinstall module./' "$MODPATH/module.prop"
|
||||
touch "$MODPATH/disable"
|
||||
exit 1
|
||||
# Disable TSupport-A auto update target to prevent overwrite
|
||||
if [ -d "$TSPA" ]; then
|
||||
touch "/storage/emulated/0/stop-tspa-auto-target"
|
||||
elif [ ! -d "$TSPA" ] && [ -f "/storage/emulated/0/stop-tspa-auto-target" ]; then
|
||||
rm -f "/storage/emulated/0/stop-tspa-auto-target"
|
||||
fi
|
||||
|
||||
if [ ! -d "$TS" ]; then
|
||||
sed -i 's/^description=.*/description=Tricky store is not installed/' "$MODPATH/module.prop"
|
||||
touch "$MODPATH/disable"
|
||||
elif [ -f "$TS/disable" ]; then
|
||||
sed -i 's/^description=.*/description=Tricky store is disabled/' "$MODPATH/module.prop"
|
||||
touch "$MODPATH/disable"
|
||||
elif [ ! -f "$SCRIPT_DIR/UpdateTargetList.sh" ]; then
|
||||
sed -i 's/^description=.*/description=Script missing, please install module again/' "$MODPATH/module.prop"
|
||||
touch "$MODPATH/disable"
|
||||
else
|
||||
cat "$MODPATH/common/module.prop.orig" > "$MODPATH/module.prop"
|
||||
until [ "$(getprop sys.boot_completed)" = "1" ]; do
|
||||
sleep 1
|
||||
done
|
||||
. "$SCRIPT_DIR/UpdateTargetList.sh"
|
||||
fi
|
||||
if [ -d "$MODPATH/common/temp" ]; then
|
||||
if [ "$KSU" ] || [ "$APATCH" ]; then
|
||||
rm -f "$MODPATH/module.prop"
|
||||
fi
|
||||
if [[ "$MODPATH" != "$HIDE_DIR" ]]; then
|
||||
rm -rf "$HIDE_DIR"
|
||||
mv "$MODPATH" "$HIDE_DIR"
|
||||
fi
|
||||
MODPATH="$HIDE_DIR"
|
||||
if [ -f "$MODPATH/action.sh" ]; then
|
||||
ln -s "$MODPATH/action.sh" "$TS/action.sh"
|
||||
fi
|
||||
ln -s "$MODPATH/webroot" "$TS/webroot"
|
||||
fi
|
||||
|
||||
OUTPUT_APP="$MODPATH/common/applist"
|
||||
OUTPUT_SKIP="$MODPATH/common/skiplist"
|
||||
|
||||
until [ "$(getprop sys.boot_completed)" = "1" ]; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
echo "# This file is generated from service.sh to speed up load time" > "$OUTPUT_APP"
|
||||
echo "# This file is generated from service.sh to speed up load time" > "$OUTPUT_SKIP"
|
||||
pm list packages -3 </dev/null 2>&1 | cat | awk -F: '{print $2}' | while read -r PACKAGE; do
|
||||
APK_PATH=$(pm path "$PACKAGE" </dev/null 2>&1 | cat | grep "base.apk" | awk -F: '{print $2}' | tr -d '\r')
|
||||
if [ -n "$APK_PATH" ]; then
|
||||
APP_NAME=$(aapt dump badging "$APK_PATH" </dev/null 2>&1 | cat | grep "application-label:" | sed "s/application-label://g; s/'//g")
|
||||
echo "app-name: $APP_NAME, package-name: $PACKAGE" >> "$OUTPUT_APP"
|
||||
else
|
||||
echo "app-name: Unknown App package-name: $PACKAGE" >> "$OUTPUT_APP"
|
||||
fi
|
||||
if ! aapt dump xmltree "$APK_PATH" AndroidManifest.xml </dev/null 2>&1 | cat | grep -qE "xposed.category|xposeddescription"; then
|
||||
echo "$PACKAGE" >> "$OUTPUT_SKIP"
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -1,10 +1,20 @@
|
||||
MODPATH=${0%/*}
|
||||
TS="/data/adb/modules/tricky_store"
|
||||
SCRIPT_DIR="/data/adb/tricky_store"
|
||||
|
||||
# Remove residue and restore original keybox.
|
||||
rm -rf "$SCRIPT_DIR/target_list_config"
|
||||
rm -f "$SCRIPT_DIR/UpdateTargetList.sh"
|
||||
if [ -f "$MODPATH/common/origkeybox" ]; then
|
||||
rm -f "$SCRIPT_DIR/keybox.xml"
|
||||
mv "$MODPATH/common/origkeybox" "$SCRIPT_DIR/keybox.xml"
|
||||
fi
|
||||
# Enable back TSupport-A auto update
|
||||
if [ -f "/storage/emulated/0/stop-tspa-auto-target" ]; then
|
||||
rm -f "/storage/emulated/0/stop-tspa-auto-target"
|
||||
fi
|
||||
|
||||
# Remove residue and restore aosp keybox.
|
||||
rm -rf "/data/adb/modules/.TA_utl"
|
||||
rm -f "/data/adb/boot_hash"
|
||||
if [ -d "$TS" ]; then
|
||||
if [ -f "$TS/action.sh" ]; then
|
||||
rm -f "$TS/action.sh"
|
||||
else
|
||||
rm -rf "$TS/webroot"
|
||||
fi
|
||||
fi
|
||||
xxd -r -p "$MODPATH/common/.default" | base64 -d > "$SCRIPT_DIR/keybox.xml"
|
||||
|
||||
@@ -4,68 +4,53 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<title data-i18n="title">Document</title>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="/styles.css" type="text/css">
|
||||
<link rel="stylesheet" type="text/css" href="/mmrl/insets.css" />
|
||||
<script type="module" crossorigin src="/index.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="title-container">
|
||||
<div id="title">Tricky Addon - Update Target List</div>
|
||||
<!-- Header -->
|
||||
<div class="header-block"></div>
|
||||
<div class="header">
|
||||
<div id="title" data-i18n="title"></div>
|
||||
<button id="help-button" class="help-button"><i class="fa fa-question-circle"></i></button>
|
||||
<div class="no-connection">
|
||||
<img src="wifi-slash.svg" alt="No Connection Icon" class="wifi-icon">
|
||||
</div>
|
||||
</div>
|
||||
<div id="help-overlay" class="help-overlay">
|
||||
<div class="help-menu">
|
||||
<button id="close-help" class="close-help">✕</button>
|
||||
<div class="help-content">
|
||||
<p>Instructions</p>
|
||||
<ul>
|
||||
<li>Save and Update
|
||||
<ul>
|
||||
<li>Save the current configuration and update target.txt immediately.</li>
|
||||
<li><br></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Refresh
|
||||
<ul>
|
||||
<li>Refresh app list and exclude list.</li>
|
||||
<li><br></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Select All & Deselect All
|
||||
<ul>
|
||||
<li>Select or deselect all apps in the current interface.</li>
|
||||
<li><br></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Deselect Unnecessary
|
||||
<ul>
|
||||
<li>Unnecessary category: Xposed module, root manager, root-related apps, and general apps
|
||||
that never check bootloader status.</li>
|
||||
<ul>
|
||||
<li>Contribute to <a
|
||||
href="https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/more-excldue.json"
|
||||
target="_blank">unnecessary app list</a>? Create an <a
|
||||
href="https://github.com/KOWX712/Tricky-Addon-Update-Target-List/issues"
|
||||
target="_blank">issue</a> or <a
|
||||
href="https://github.com/KOWX712/Tricky-Addon-Update-Target-List/pulls"
|
||||
target="_blank">pull request</a>.</li>
|
||||
</ul>
|
||||
<li><br></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="language-dropdown">
|
||||
<button class="language-button">
|
||||
<i class="fa fa-compass"></i>
|
||||
</button>
|
||||
<div class="language-menu">
|
||||
<button class="language-option" data-lang="en-US">English</button>
|
||||
<button class="language-option" data-lang="ru-RU">Русский</button>
|
||||
<button class="language-option" data-lang="tl-PH">Tagalog</button>
|
||||
<button class="language-option" data-lang="zh-CN">中文(简体)</button>
|
||||
<button class="language-option" data-lang="zh-TW">中文(繁体)</button>
|
||||
</div>
|
||||
<div id="language-overlay" class="language-overlay"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Loading Element -->
|
||||
<div class="loading" data-i18n="loading"></div>
|
||||
|
||||
<!-- Prompt Element -->
|
||||
<div id="prompt" class="prompt"></div>
|
||||
|
||||
<!-- Floating Button Element -->
|
||||
<div class="floating-card">
|
||||
<button class="floating-btn" id="save" data-i18n="save_and_update_button"></button>
|
||||
</div>
|
||||
|
||||
<!-- Menu Options -->
|
||||
<div class="search-menu-container">
|
||||
<div class="search-card">
|
||||
<span class="search-icon"><i class="fa fa-search"></i></span>
|
||||
<input type="text" class="search-input" id="search" placeholder="Search">
|
||||
<input type="text" class="search-input" id="search" placeholder="Search" data-i18n="search_placeholder">
|
||||
<button class="clear-btn" id="clear-btn">✕</button>
|
||||
</div>
|
||||
<div class="menu">
|
||||
@@ -75,29 +60,87 @@
|
||||
</label>
|
||||
<div id="menu-options" class="menu-options">
|
||||
<ul>
|
||||
<li id="refresh">Refresh</li>
|
||||
<li id="select-all">Select All</li>
|
||||
<li id="deselect-all">Deselect All</li>
|
||||
<li id="deselect-xposed">Deselect Unnecessary</li>
|
||||
<li id="refresh" data-i18n="refresh"></li>
|
||||
<li id="select-all" data-i18n="select_all"></li>
|
||||
<li id="deselect-all" data-i18n="deselect_all"></li>
|
||||
<li id="select-denylist" data-i18n="select_denylist"></li>
|
||||
<li id="deselect-unnecessary" data-i18n="deselect_unnecessary"></li>
|
||||
<li id="aospkb" data-i18n="set_aosp_keybox"></li>
|
||||
<li id="extrakb" data-i18n="set_valid_keybox"></li>
|
||||
<li id="boot-hash" data-i18n="set_verified_boot_hash"></li>
|
||||
<li id="about" data-i18n="about"></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="menu-overlay" class="menu-overlay"></div>
|
||||
</div>
|
||||
|
||||
<!-- Applist Display -->
|
||||
<div id="apps-list"></div>
|
||||
<div class="floating-card">
|
||||
<button class="floating-btn" id="save">Save and Update</button>
|
||||
<div class="update-card" id="update-card">
|
||||
<p id="update-available" data-i18n="update_available"></p>
|
||||
<p id="redirect-to-release" data-i18n="redirect_to_release"></p>
|
||||
</div>
|
||||
<template id="app-template">
|
||||
<div class="card" onclick="toggleCheckbox(event)">
|
||||
<div class="content">
|
||||
<p class="name"></p>
|
||||
<input type="checkbox" class="checkbox" checked>
|
||||
<div class="card-box">
|
||||
<div class="card">
|
||||
<div class="content" data-package="">
|
||||
<p class="name"></p>
|
||||
<input type="checkbox" class="checkbox">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<div class="loading">Loading...</div>
|
||||
<div class="acknowledgment">Credit to j-hc/zygisk-detach WebUI</div>
|
||||
<div id="prompt" class="prompt"></div>
|
||||
|
||||
<!-- Help Overlay -->
|
||||
<div id="help-overlay" class="help-overlay">
|
||||
<div class="help-menu">
|
||||
<button id="close-help" class="close-help">✕</button>
|
||||
<div class="help-content">
|
||||
<p data-i18n="help_instructions"></p>
|
||||
<ul id="help-list"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- BootHash Input Overlay -->
|
||||
<div id="boot-hash-overlay" class="boot-hash-overlay"></div>
|
||||
<div id="boot-hash-card" class="boot-hash-card">
|
||||
<textarea id="boot-hash-input" class="input-box" placeholder="Paste your verified Boot Hash here"
|
||||
data-i18n="boot_hash_input_placeholder"></textarea>
|
||||
<div class="button-container">
|
||||
<button id="boot-hash-save-button" class="boot-hash-save-button" data-i18n="boot_hash_save_button"></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- About Overlay -->
|
||||
<div id="about-overlay" class="about-overlay">
|
||||
<div id="about-menu" class="about-menu">
|
||||
<button id="close-about" class="close-about">✕</button>
|
||||
<div class="about-content">
|
||||
<p data-i18n="module_name_line1"></p>
|
||||
<p data-i18n="module_name_line2"></p>
|
||||
<p><span data-i18n="by"></span>KOWX712</p>
|
||||
<br>
|
||||
<p data-i18n="disclaimer"></p>
|
||||
<br>
|
||||
<p>
|
||||
<span id="telegram" data-i18n="telegram_channel"></span><span id="github" data-i18n="github"></span>
|
||||
</p>
|
||||
<br>
|
||||
<p data-i18n="acknowledgment"></p>
|
||||
<p>j-hc/zygisk-detach: WebUI template</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<div class="footer">
|
||||
<div class="uninstall-container hidden-uninstall">
|
||||
<i class="fa fa-trash"></i>
|
||||
<span data-i18n="uninstall_webui"></span>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
File diff suppressed because it is too large
Load Diff
54
module/webroot/locales/A-template.json
Normal file
54
module/webroot/locales/A-template.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"title": "Tricky Addon - Update Target List",
|
||||
"search_placeholder": "Search",
|
||||
"save_and_update_button": "Save",
|
||||
"boot_hash_save_button": "Save",
|
||||
"loading": "Loading...",
|
||||
"boot_hash_input_placeholder": "Paste your verified Boot Hash here",
|
||||
"uninstall_webui": "Uninstall WebUI",
|
||||
|
||||
"update_available": "A new version is ready",
|
||||
"redirect_to_release": "tap to download the latest version",
|
||||
|
||||
"refresh": "Refresh",
|
||||
"select_all": "Select All",
|
||||
"deselect_all": "Deselect All",
|
||||
"select_denylist": "Select From DenyList",
|
||||
"deselect_unnecessary": "Deselect Unnecessary",
|
||||
"set_aosp_keybox": "Set AOSP Keybox",
|
||||
"set_valid_keybox": "Set Valid Keybox",
|
||||
"set_verified_boot_hash": "Set Verified Boot Hash",
|
||||
"about": "About",
|
||||
|
||||
"help_instructions": "Instructions",
|
||||
"save_and_update_description": "Save current configure to target.txt.",
|
||||
"refresh_description": "Refresh app list and exclude list.",
|
||||
"select_deselect": "Select & Deselect All",
|
||||
"select_description": "Select or deselect all apps in the current interface.",
|
||||
"select_denylist_description": "Available in Magisk only, select apps that are in the DenyList. Recommended.",
|
||||
"deselect_unnecessary_description": "Unnecessary category: Xposed module, root manager, root-related apps, and general apps that never check bootloader status. This option requires an Internet connection.",
|
||||
"set_keybox": "Set AOSP & Valid Keybox",
|
||||
"set_aosp_keybox_description": "Replace tricky store keybox.xml. AOSP keybox will be replaced if there's no more valid keybox. Valid keybox option requires Internet connection.",
|
||||
"set_verified_boot_hash_description": "Get verifiedBootHash value from Key Attestation Demo. Fix abnormal boot state by resetting ro.boot.vbmeta.digest.",
|
||||
|
||||
"module_name_line1": "Tricky Addon",
|
||||
"module_name_line2": "Update Target List",
|
||||
"by": "by ",
|
||||
"telegram_channel": "Telegram Channel",
|
||||
"github": "GitHub",
|
||||
"disclaimer": "This module is not a part of the Tricky Store module. DO NOT report any issues to Tricky Store if encountered.",
|
||||
"acknowledgment": "Acknowledgment",
|
||||
|
||||
"no_internet": "Please check your Internet connection",
|
||||
"aosp_key_set": "AOSP keybox set successfully",
|
||||
"key_set_error": "Failed to update keybox",
|
||||
"valid_key_set": "Valid keybox set successfully",
|
||||
"no_valid_fallback": "No valid keybox found, replaced with AOSP keybox.",
|
||||
"boot_hash_set": "Verified Boot Hash saved successfully",
|
||||
"boot_hash_set_error": "Failed to update Verified Boot Hash",
|
||||
"saved_target": "Config saved to target.txt",
|
||||
"save_error": "Failed to save config",
|
||||
"uninstall_prompt": "WebUI will be removed after reboot",
|
||||
"uninstall_failed": "Failed to uninstall WebUI",
|
||||
"new_update": "A new update is available!"
|
||||
}
|
||||
31
module/webroot/locales/A-translate.md
Normal file
31
module/webroot/locales/A-translate.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# Translation Guide
|
||||
## Fix Translation Error
|
||||
1. Fork this repository.
|
||||
2. Find your language string file in `/module/webroot/locales/`.
|
||||
3. Edit the string value with translated incorrectly.
|
||||
4. Create a Pull Request.
|
||||
|
||||
---
|
||||
## Add a New Language
|
||||
### Simple
|
||||
- Contact me in Telegram to add a new translation langauge for you.
|
||||
|
||||
### Advanced
|
||||
1. Fork this repository.
|
||||
2. Make a copy of `/module/webroot/locales/A-template.json`
|
||||
3. Rename it to `language_code-COUNTRY_CODE.json`, e.g., `en-US.json`.
|
||||
4. Translate the string value inside.
|
||||
5. Add `langauge-option` into `/module/webroot/index.html`.
|
||||
|
||||
Format:
|
||||
```xml
|
||||
<button class="language-option" data-lang="language_code-COUNTRY_CODE">languageName</button>
|
||||
```
|
||||
|
||||
Example:
|
||||
```xml
|
||||
<div class="language-menu">
|
||||
<button class="language-option" data-lang="en-US">English</button>
|
||||
</div>
|
||||
```
|
||||
Finally, Create a Pull Request.
|
||||
54
module/webroot/locales/en-US.json
Normal file
54
module/webroot/locales/en-US.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"title": "Tricky Addon - Update Target List",
|
||||
"search_placeholder": "Search",
|
||||
"save_and_update_button": "Save",
|
||||
"boot_hash_save_button": "Save",
|
||||
"loading": "Loading...",
|
||||
"boot_hash_input_placeholder": "Paste your verified Boot Hash here",
|
||||
"uninstall_webui": "Uninstall WebUI",
|
||||
|
||||
"update_available": "A new version is ready",
|
||||
"redirect_to_release": "tap to download the latest version",
|
||||
|
||||
"refresh": "Refresh",
|
||||
"select_all": "Select All",
|
||||
"deselect_all": "Deselect All",
|
||||
"select_denylist": "Select From DenyList",
|
||||
"deselect_unnecessary": "Deselect Unnecessary",
|
||||
"set_aosp_keybox": "Set AOSP Keybox",
|
||||
"set_valid_keybox": "Set Valid Keybox",
|
||||
"set_verified_boot_hash": "Set Verified Boot Hash",
|
||||
"about": "About",
|
||||
|
||||
"help_instructions": "Instructions",
|
||||
"save_and_update_description": "Save current configure to target.txt.",
|
||||
"refresh_description": "Refresh app list and exclude list.",
|
||||
"select_deselect": "Select & Deselect All",
|
||||
"select_description": "Select or deselect all apps in the current interface.",
|
||||
"select_denylist_description": "Available in Magisk only, select apps that are in the DenyList. Recommended.",
|
||||
"deselect_unnecessary_description": "Unnecessary category: Xposed module, root manager, root-related apps, and general apps that never check bootloader status. This option requires an Internet connection.",
|
||||
"set_keybox": "Set AOSP & Valid Keybox",
|
||||
"set_aosp_keybox_description": "Replace tricky store keybox.xml. AOSP keybox will be replaced if there's no more valid keybox. Valid keybox option requires Internet connection.",
|
||||
"set_verified_boot_hash_description": "Get verifiedBootHash value from Key Attestation Demo. Fix abnormal boot state by resetting ro.boot.vbmeta.digest.",
|
||||
|
||||
"module_name_line1": "Tricky Addon",
|
||||
"module_name_line2": "Update Target List",
|
||||
"by": "by ",
|
||||
"telegram_channel": "Telegram Channel",
|
||||
"github": "GitHub",
|
||||
"disclaimer": "This module is not a part of the Tricky Store module. DO NOT report any issues to Tricky Store if encountered.",
|
||||
"acknowledgment": "Acknowledgment",
|
||||
|
||||
"no_internet": "Please check your Internet connection",
|
||||
"aosp_key_set": "AOSP keybox set successfully",
|
||||
"key_set_error": "Failed to update keybox",
|
||||
"valid_key_set": "Valid keybox set successfully",
|
||||
"no_valid_fallback": "No valid keybox found, replaced with AOSP keybox.",
|
||||
"boot_hash_set": "Verified Boot Hash saved successfully",
|
||||
"boot_hash_set_error": "Failed to update Verified Boot Hash",
|
||||
"saved_target": "Config saved to target.txt",
|
||||
"save_error": "Failed to save config",
|
||||
"uninstall_prompt": "WebUI will be removed after reboot",
|
||||
"uninstall_failed": "Failed to uninstall WebUI",
|
||||
"new_update": "A new update is available!"
|
||||
}
|
||||
54
module/webroot/locales/ru-RU.json
Normal file
54
module/webroot/locales/ru-RU.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"title": "Tricky Addon - Обновить список целей",
|
||||
"search_placeholder": "Поиск",
|
||||
"save_and_update_button": "Сохранить",
|
||||
"boot_hash_save_button": "Сохранить",
|
||||
"loading": "Загрузка...",
|
||||
"boot_hash_input_placeholder": "Вставьте свой проверенный Boot Hash сюда",
|
||||
"uninstall_webui": "Удалить WebUI",
|
||||
|
||||
"update_available": "Доступна новая версия",
|
||||
"redirect_to_release": "нажмите, чтобы скачать последнюю версию",
|
||||
|
||||
"refresh": "Обновить",
|
||||
"select_all": "Выбрать все",
|
||||
"deselect_all": "Отменить выбор всех",
|
||||
"select_denylist": "Выбрать из DenyList",
|
||||
"deselect_unnecessary": "Отменить выбор ненужных",
|
||||
"set_aosp_keybox": "Установить AOSP Keybox",
|
||||
"set_valid_keybox": "Установить действующий Keybox",
|
||||
"set_verified_boot_hash": "Установить Verified Boot Hash",
|
||||
"about": "О программе",
|
||||
|
||||
"help_instructions": "Инструкции",
|
||||
"save_and_update_description": "Сохранить текущую конфигурацию в target.txt.",
|
||||
"refresh_description": "Обновить список приложений и список исключений.",
|
||||
"select_deselect": "Выбрать и отменить выбор всех",
|
||||
"select_description": "Выбрать или отменить выбор всех приложений в текущем интерфейсе.",
|
||||
"select_denylist_description": "Доступно только в Magisk, выберите приложения, которые находятся в DenyList. Рекомендуется.",
|
||||
"deselect_unnecessary_description": "Ненужные категории: модули Xposed, менеджеры root, приложения, связанные с root, и общие приложения, которые никогда не проверяют статус загрузчика. Этот параметр требует подключения к интернету.",
|
||||
"set_keybox": "Установить AOSP и действующий Keybox",
|
||||
"set_aosp_keybox_description": "Замените tricky store keybox.xml. AOSP keybox будет заменен, если не будет найден действующий keybox. Опция с действующим keybox требует подключения к интернету.",
|
||||
"set_verified_boot_hash_description": "Получите значение verifiedBootHash из Key Attestation Demo. Исправьте аномальное состояние загрузки, сбросив ro.boot.vbmeta.digest.",
|
||||
|
||||
"module_name_line1": "Tricky Addon",
|
||||
"module_name_line2": "Обновить список целей",
|
||||
"by": "от ",
|
||||
"telegram_channel": "Канал в Telegram",
|
||||
"github": "GitHub",
|
||||
"disclaimer": "Этот WebUI не является частью Tricky Store, НЕ сообщайте автору Tricky Store о любых возникающих проблемах.",
|
||||
"acknowledgment": "Благодарности",
|
||||
|
||||
"no_internet": "Пожалуйста, проверьте ваше подключение к интернету",
|
||||
"aosp_key_set": "AOSP keybox успешно установлен",
|
||||
"key_set_error": "Не удалось обновить keybox",
|
||||
"valid_key_set": "Действующий keybox успешно установлен",
|
||||
"no_valid_fallback": "Не найден действующий keybox, заменен на AOSP keybox.",
|
||||
"boot_hash_set": "Verified Boot Hash успешно сохранен",
|
||||
"boot_hash_set_error": "Не удалось обновить Verified Boot Hash",
|
||||
"saved_target": "Конфигурация сохранена в target.txt",
|
||||
"save_error": "Не удалось сохранить конфигурацию",
|
||||
"uninstall_prompt": "WebUI будет удален после перезагрузки",
|
||||
"uninstall_failed": "Не удалось удалить WebUI",
|
||||
"new_update": "Доступно новое обновление!"
|
||||
}
|
||||
54
module/webroot/locales/tl-PH.json
Normal file
54
module/webroot/locales/tl-PH.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"title": "Tricky Addon - I-update ang Target List",
|
||||
"search_placeholder": "Maghanap",
|
||||
"save_and_update_button": "I-save",
|
||||
"boot_hash_save_button": "I-save",
|
||||
"loading": "Naglo-load...",
|
||||
"boot_hash_input_placeholder": "I-paste ang iyong verified Boot Hash dito",
|
||||
"uninstall_webui": "I-uninstall ang WebUI",
|
||||
|
||||
"update_available": "Handa na ang bagong bersyon",
|
||||
"redirect_to_release": "i-tap para i-download ang pinakabagong bersyon",
|
||||
|
||||
"refresh": "I-refresh",
|
||||
"select_all": "Piliin Lahat",
|
||||
"deselect_all": "Huwag Pumili ng Lahat",
|
||||
"select_denylist": "Piliin mula sa DenyList",
|
||||
"deselect_unnecessary": "Huwag Pumili ng Hindi Kinakailangan",
|
||||
"set_aosp_keybox": "I-set ang AOSP Keybox",
|
||||
"set_valid_keybox": "I-set ang Valid Keybox",
|
||||
"set_verified_boot_hash": "I-set ang Verified Boot Hash",
|
||||
"about": "Tungkol",
|
||||
|
||||
"help_instructions": "Mga Tagubilin",
|
||||
"save_and_update_description": "I-save ang kasalukuyang configuration sa target.txt.",
|
||||
"refresh_description": "I-refresh ang listahan ng apps at exclude list.",
|
||||
"select_deselect": "Piliin & Huwag Pumili ng Lahat",
|
||||
"select_description": "Piliin o huwag piliin ang lahat ng apps sa kasalukuyang interface.",
|
||||
"select_denylist_description": "Available lang sa Magisk, piliin ang mga app na nasa DenyList. Inirerekomenda.",
|
||||
"deselect_unnecessary_description": "Hindi kinakailangang kategorya: Xposed module, root manager, root-related apps, at mga karaniwang apps na hindi kailanman nire-refresh ang bootloader status. Nangangailangan ng koneksyon sa internet.",
|
||||
"set_keybox": "I-set ang AOSP at Valid Keybox",
|
||||
"set_aosp_keybox_description": "Palitan ang tricky store keybox.xml. Palitan ang AOSP keybox kung walang valid keybox. Nangangailangan ng koneksyon sa internet ang valid keybox option.",
|
||||
"set_verified_boot_hash_description": "Kunin ang verifiedBootHash mula sa Key Attestation Demo. Ayusin ang abnormal na boot state sa pamamagitan ng pag-reset ng ro.boot.vbmeta.digest.",
|
||||
|
||||
"module_name_line1": "Tricky Addon",
|
||||
"module_name_line2": "I-update ang Target List",
|
||||
"by": "ni ",
|
||||
"telegram_channel": "Telegram Channel",
|
||||
"github": "GitHub",
|
||||
"disclaimer": "Ang WebUI na ito ay hindi bahagi ng Tricky Store, HUWAG i-report sa may-akda ng Tricky Store kung makaranas ka ng anumang isyu.",
|
||||
"acknowledgment": "Pagkilala",
|
||||
|
||||
"no_internet": "Pakitingnan ang iyong koneksyon sa Internet",
|
||||
"aosp_key_set": "Matagumpay na na-set ang AOSP Keybox",
|
||||
"key_set_error": "Nabigong i-update ang keybox",
|
||||
"valid_key_set": "Matagumpay na na-set ang Valid Keybox",
|
||||
"no_valid_fallback": "Walang valid na keybox na natagpuan, pinalitan ng AOSP keybox.",
|
||||
"boot_hash_set": "Matagumpay na na-save ang Verified Boot Hash",
|
||||
"boot_hash_set_error": "Nabigong i-update ang Verified Boot Hash",
|
||||
"saved_target": "Na-save ang configuration sa target.txt",
|
||||
"save_error": "Nabigong i-save ang config",
|
||||
"uninstall_prompt": "Mawawala ang WebUI pagkatapos ng reboot",
|
||||
"uninstall_failed": "Nabigong i-uninstall ang WebUI",
|
||||
"new_update": "May bagong update na available!"
|
||||
}
|
||||
54
module/webroot/locales/zh-CN.json
Normal file
54
module/webroot/locales/zh-CN.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"title": "TS插件 - 更新目标列表",
|
||||
"search_placeholder": "搜索",
|
||||
"save_and_update_button": "保存",
|
||||
"boot_hash_save_button": "保存",
|
||||
"loading": "加载中...",
|
||||
"boot_hash_input_placeholder": "在此粘贴您的哈希值",
|
||||
"uninstall_webui": "卸载 WebUI",
|
||||
|
||||
"update_available": "发现新的版本",
|
||||
"redirect_to_release": "点击跳转 GitHub 下载最新版本",
|
||||
|
||||
"refresh": "刷新",
|
||||
"select_all": "全选",
|
||||
"deselect_all": "取消全选",
|
||||
"select_denylist": "从排除列表中选择",
|
||||
"deselect_unnecessary": "取消选择非必应用",
|
||||
"set_aosp_keybox": "设置 AOSP 密钥",
|
||||
"set_valid_keybox": "设置有效密钥",
|
||||
"set_verified_boot_hash": "设置哈希值",
|
||||
"about": "关于",
|
||||
|
||||
"help_instructions": "使用指南",
|
||||
"save_and_update_description": "保存当前配置到目标列表(target.txt)。",
|
||||
"refresh_description": "刷新应用列表和排除列表。",
|
||||
"select_deselect": "全选 & 取消全选",
|
||||
"select_description": "选择或取消选择当前界面中的所有应用。",
|
||||
"select_denylist_description": "仅适用于 Magisk,选择在排除列表中的应用。推荐使用。",
|
||||
"deselect_unnecessary_description": "非必要分类:Xposed 模块、root 管理器、与 root 相关的应用,以及从不检查 bootloader 状态的通用应用。此功能需连网使用。",
|
||||
"set_keybox": "设置 AOSP & 有效密钥",
|
||||
"set_aosp_keybox_description": "替换 Tricky Store 的密钥(keybox.xml)。如果没有有效密钥,将替换为 AOSP 密钥。有效密钥选项需连网使用。",
|
||||
"set_verified_boot_hash_description": "从 Key Attestation Demo 获取 verifiedBootHash(哈希值)。通过重置 ro.boot.vbmeta.digest 修复异常 boot 状态。",
|
||||
|
||||
"module_name_line1": "TS插件",
|
||||
"module_name_line2": "更新目标列表",
|
||||
"by": "作者:",
|
||||
"telegram_channel": "TG频道",
|
||||
"github": "GitHub",
|
||||
"disclaimer": "此 WebUI 不是 Tricky Store 的一部分,遇到任何问题请勿向 Tricky Store 作者反馈。",
|
||||
"acknowledgment": "特别鸣谢",
|
||||
|
||||
"no_internet": "请检查您的网络连接",
|
||||
"aosp_key_set": "成功设置 AOSP 密钥",
|
||||
"key_set_error": "更新密钥失败",
|
||||
"valid_key_set": "成功设置有效密钥",
|
||||
"no_valid_fallback": "未找到有效密钥,已替换为 AOSP 密钥。",
|
||||
"boot_hash_set": "哈希值重置成功",
|
||||
"boot_hash_set_error": "哈希值重置失败",
|
||||
"saved_target": "成功保存配置",
|
||||
"save_error": "保存配置失败",
|
||||
"uninstall_prompt": "WebUI 将在重启后被移除",
|
||||
"uninstall_failed": "卸载 WebUI 失败",
|
||||
"new_update": "发现新的版本!"
|
||||
}
|
||||
54
module/webroot/locales/zh-TW.json
Normal file
54
module/webroot/locales/zh-TW.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"title": "TS插件 - 更新目標列表",
|
||||
"search_placeholder": "搜尋",
|
||||
"save_and_update_button": "保存",
|
||||
"boot_hash_save_button": "保存",
|
||||
"loading": "加載中...",
|
||||
"boot_hash_input_placeholder": "在此粘貼您的哈希值",
|
||||
"uninstall_webui": "卸載 WebUI",
|
||||
|
||||
"update_available": "發現新的版本",
|
||||
"redirect_to_release": "點擊跳轉至 GitHub 下載最新版本",
|
||||
|
||||
"refresh": "刷新",
|
||||
"select_all": "全選",
|
||||
"deselect_all": "取消全選",
|
||||
"select_denylist": "從排除列表中選擇",
|
||||
"deselect_unnecessary": "取消選擇非必應用",
|
||||
"set_aosp_keybox": "設置 AOSP 密鑰",
|
||||
"set_valid_keybox": "設置有效密鑰",
|
||||
"set_verified_boot_hash": "設置哈希值",
|
||||
"about": "關於",
|
||||
|
||||
"help_instructions": "使用指南",
|
||||
"save_and_update_description": "保存當前配置到目標列表(target.txt)。",
|
||||
"refresh_description": "刷新應用列表和排除列表。",
|
||||
"select_deselect": "全選 & 取消全選",
|
||||
"select_description": "選擇或取消選擇當前界面中的所有應用。",
|
||||
"select_denylist_description": "僅適用於 Magisk,選擇在排除列表中的應用。推薦使用。",
|
||||
"deselect_unnecessary_description": "非必要分類:Xposed 模塊、root 管理器、與 root 相關的應用,以及從不檢查 bootloader 狀態的通用應用。此功能需連網使用。",
|
||||
"set_keybox": "設置 AOSP & 有效密鑰",
|
||||
"set_aosp_keybox_description": "替換 Tricky Store 的密鑰(keybox.xml)。如果沒有有效密鑰,將替換為 AOSP 密鑰。有效密鑰選項需連網使用。",
|
||||
"set_verified_boot_hash_description": "從 Key Attestation Demo 獲取 verifiedBootHash(哈希值)。通過重置 ro.boot.vbmeta.digest 修復異常 boot 狀態。",
|
||||
|
||||
"module_name_line1": "TS插件",
|
||||
"module_name_line2": "更新目標列表",
|
||||
"by": "作者:",
|
||||
"telegram_channel": "TG頻道",
|
||||
"github": "GitHub",
|
||||
"disclaimer": "此 WebUI 不是 Tricky Store 的一部分,遇到任何問題請勿向 Tricky Store 作者反饋。",
|
||||
"acknowledgment": "特別鳴謝",
|
||||
|
||||
"no_internet": "請檢查您的網路連接",
|
||||
"aosp_key_set": "成功設置 AOSP 密鑰",
|
||||
"key_set_error": "更新密鑰失敗",
|
||||
"valid_key_set": "成功設置有效密鑰",
|
||||
"no_valid_fallback": "未找到有效密鑰,已替換為 AOSP 密鑰。",
|
||||
"boot_hash_set": "哈希值重置成功",
|
||||
"boot_hash_set_error": "哈希值重置失敗",
|
||||
"saved_target": "成功保存配置",
|
||||
"save_error": "保存配置失敗",
|
||||
"uninstall_prompt": "WebUI 將在重啟後被移除",
|
||||
"uninstall_failed": "卸載 WebUI 失敗",
|
||||
"new_update": "發現新的版本!"
|
||||
}
|
||||
@@ -1,49 +1,134 @@
|
||||
body {
|
||||
background-color: #F5F5F5;
|
||||
padding-top: var(--window-inset-top);
|
||||
padding-bottom: var(--window-inset-bottom);
|
||||
}
|
||||
|
||||
.no-scroll {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.title-container {
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
height: 40px;
|
||||
width: calc(100% - 17px);
|
||||
width: calc(100% - 10px);
|
||||
max-width: 1100px;
|
||||
background-color: #F5F5F5;
|
||||
transition: transform 0.3s ease;
|
||||
z-index: 1000;
|
||||
z-index: 1100;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.header-block {
|
||||
background-color: #F5F5F5;
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
z-index: 1100;
|
||||
transition: transform 0.3s ease;
|
||||
height: var(--window-inset-top);
|
||||
}
|
||||
|
||||
#title {
|
||||
font-size: 18px;
|
||||
padding-left: 5px;
|
||||
font-size: 16.5px;
|
||||
font-weight: bold;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.no-connection {
|
||||
padding-bottom: 2px;
|
||||
display: none;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
margin-right: 0px;
|
||||
color: #7E7E7E;
|
||||
}
|
||||
|
||||
.no-connection .wifi-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: 5px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
filter: invert(0.6) sepia(0) saturate(0) hue-rotate(180deg) brightness(0.8) contrast(1);
|
||||
}
|
||||
|
||||
.language-dropdown {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.language-button {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 23px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.language-menu {
|
||||
display: flex;
|
||||
padding: 3px 10px;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
||||
z-index: 1800;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 8px;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
max-height: calc(100vh - 50px);
|
||||
overflow-y: auto;
|
||||
transform: translateY(-10px);
|
||||
transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
|
||||
}
|
||||
|
||||
.language-menu.show {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.language-option {
|
||||
padding: 8px 5px;
|
||||
text-align: left;
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 16px;
|
||||
color: #333;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
border-bottom: 1px solid #ccc;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.language-option:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.language-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: none;
|
||||
z-index: 1100;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.help-button {
|
||||
margin-right: auto;
|
||||
padding: 0 10px;
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 24px;
|
||||
font-size: 22px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
@@ -75,7 +160,7 @@ body {
|
||||
.help-menu {
|
||||
position: relative;
|
||||
width: 75vw;
|
||||
max-width: 600px;
|
||||
max-width: 800px;
|
||||
background-color: white;
|
||||
padding: 0 10px;
|
||||
border-radius: 15px;
|
||||
@@ -110,7 +195,7 @@ body {
|
||||
|
||||
.help-content ul li {
|
||||
font-weight: bold;
|
||||
font-size: 17px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.help-content ul ul li {
|
||||
@@ -128,8 +213,171 @@ body {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
#apps-list {
|
||||
margin-top: 100px;
|
||||
.boot-hash-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
z-index: 1200;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.2s ease, visibility 0.2s ease;
|
||||
}
|
||||
|
||||
.boot-hash-card {
|
||||
position: fixed;
|
||||
top: 30%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 80vw;
|
||||
max-width: 600px;
|
||||
background-color: #fff;
|
||||
border-radius: 18px;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
|
||||
z-index: 1200;
|
||||
padding: 20px;
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.boot-hash-overlay.show {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.boot-hash-card.show {
|
||||
display: flex;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.input-box {
|
||||
width: calc(100% - 20px);
|
||||
height: 100px;
|
||||
resize: none;
|
||||
padding: 9px;
|
||||
font-size: 16px;
|
||||
background-color: #FFF;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.button-container {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.boot-hash-save-button {
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
border-radius: 38px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
background-color: #007bff;
|
||||
color: white;
|
||||
margin-left: auto;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.about-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
z-index: 1100;
|
||||
display: none;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.about-menu {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 75vw;
|
||||
max-width: 800px;
|
||||
transform: translate(-50%, -50%);
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
padding: 25px 30px;
|
||||
z-index: 1200;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
|
||||
z-index: 1200;
|
||||
opacity: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.close-about {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 12px;
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 18px;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.about-content p {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.about-content p[data-i18n="module_name_line1"] {
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
.about-content p[data-i18n="module_name_line2"] {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.about-content p span[data-i18n="by"] {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.about-content p[data-i18n="disclaimer"] {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.about-content p[data-i18n="acknowledgment"] {
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.about-content p:not([data-i18n]) {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#telegram {
|
||||
font-weight: bold;
|
||||
padding: 5px 10px;
|
||||
background-color: #38A7ED;
|
||||
color: #fff;
|
||||
border-radius: 8px;
|
||||
margin-right: 5px;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
#github {
|
||||
font-weight: bold;
|
||||
padding: 5px 10px;
|
||||
background-color: #1E1E1E;
|
||||
color: #fff;
|
||||
border-radius: 8px;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.search-menu-container {
|
||||
@@ -137,9 +385,14 @@ body {
|
||||
position: fixed;
|
||||
top: 40px;
|
||||
height: 50px;
|
||||
width: calc(100% - 17px);
|
||||
width: calc(100% - 20px);
|
||||
max-width: 1100px;
|
||||
z-index: 1000;
|
||||
transition: transform 0.3s ease;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.search-card {
|
||||
@@ -162,7 +415,6 @@ body {
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
|
||||
.search-input {
|
||||
position: absolute;
|
||||
border: none;
|
||||
@@ -176,6 +428,7 @@ body {
|
||||
.clear-btn {
|
||||
position: absolute;
|
||||
color: #ccc;
|
||||
padding-bottom: 3px;
|
||||
right: 10px;
|
||||
border: none;
|
||||
background: none;
|
||||
@@ -227,15 +480,22 @@ body {
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
display: none;
|
||||
position: absolute;
|
||||
padding: 5px;
|
||||
padding: 5px 12px;
|
||||
top: 110%;
|
||||
right: 0;
|
||||
z-index: 1200;
|
||||
transform: translateX(120%);
|
||||
transition: transform 0.2s ease;
|
||||
width: auto;
|
||||
max-height: calc(100vh - 120px);
|
||||
overflow-y: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#select-denylist {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-options.visible {
|
||||
display: block;
|
||||
transform: translateX(0);
|
||||
@@ -253,17 +513,78 @@ body {
|
||||
|
||||
.menu-options li {
|
||||
cursor: default;
|
||||
padding: 15px 12px;
|
||||
padding: 12px 4px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #ccc;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.menu-options li:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.menu-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: none;
|
||||
z-index: 1000;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.card-box {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#apps-list {
|
||||
margin-top: 100px;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.update-card {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background-color: #DCDCDC;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
margin: 0 auto;
|
||||
margin-bottom: 10px;
|
||||
outline: none;
|
||||
padding: 12px;
|
||||
width: calc(100% - 30px);
|
||||
max-width: 900px;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
#update-available {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#redirect-to-release {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: white;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
border-radius: 10px;
|
||||
margin: 0 auto;
|
||||
margin-bottom: 10px;
|
||||
outline: none;
|
||||
padding: 15px;
|
||||
padding: 12px;
|
||||
width: calc(100% - 30px);
|
||||
max-width: 900px;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.content {
|
||||
@@ -275,6 +596,7 @@ body {
|
||||
.name {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
font-size: 15.5px;
|
||||
max-width: calc(100% - 30px);
|
||||
overflow-wrap: break-word;
|
||||
word-break: break-word;
|
||||
@@ -282,6 +604,7 @@ body {
|
||||
|
||||
.checkbox {
|
||||
margin-left: auto;
|
||||
transform: scale(1.15);
|
||||
}
|
||||
|
||||
.prompt {
|
||||
@@ -294,7 +617,7 @@ body {
|
||||
color: white;
|
||||
font-size: 15px;
|
||||
padding: 5px 15px;
|
||||
z-index: 1000;
|
||||
z-index: 2000;
|
||||
transform: translateY(100%);
|
||||
transition: transform 0.5s ease;
|
||||
white-space: nowrap;
|
||||
@@ -344,13 +667,14 @@ body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
position: fixed;
|
||||
bottom: -50px;
|
||||
bottom: -70px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.floating-btn {
|
||||
flex-shrink: 0;
|
||||
background-color: #007bff;
|
||||
border: none;
|
||||
box-shadow: 0 4px 8px #0003;
|
||||
@@ -358,9 +682,10 @@ body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 12px 17px;
|
||||
font-size: 17px;
|
||||
transition: transform 0.3s ease-in-out;
|
||||
padding: 10px 20px;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
transition: transform 0.3s ease-in-out, background-color 0.2s ease;
|
||||
border-top-left-radius: 50px;
|
||||
border-top-right-radius: 50px;
|
||||
border-bottom-left-radius: 50px;
|
||||
@@ -368,19 +693,83 @@ body {
|
||||
}
|
||||
|
||||
.loading {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
color: #6E6E6E;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: calc(100vh - 164px);
|
||||
font-size: 24px;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.acknowledgment {
|
||||
color: #6E6E6E;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
.footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: calc(100% - 10px);
|
||||
max-width: 1100px;
|
||||
padding: 25px 0;
|
||||
position: relative;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.uninstall-container {
|
||||
padding: 10px 10px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 8px;
|
||||
background-color: #CE0000;
|
||||
white-space: nowrap;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.uninstall-container i {
|
||||
margin-right: 5px;
|
||||
font-size: 18px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.uninstall-container span {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.uninstall-container.hidden-uninstall {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.language-option:active,
|
||||
.menu-options li:active,
|
||||
.card:active,
|
||||
.update-card:active {
|
||||
background-color: #C8C8C8;
|
||||
}
|
||||
|
||||
.boot-hash-save-button:active,
|
||||
.floating-btn:active {
|
||||
background-color: #003d80;
|
||||
}
|
||||
|
||||
.uninstall-container:active {
|
||||
background-color: #830000;
|
||||
}
|
||||
|
||||
#telegram:active {
|
||||
background-color: #1A78B3;
|
||||
}
|
||||
|
||||
#github:active {
|
||||
background-color: #585858;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
@@ -388,22 +777,32 @@ body {
|
||||
background-color: #121212;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
.title-container {
|
||||
|
||||
.header-block,
|
||||
.header {
|
||||
background-color: #121212;
|
||||
}
|
||||
|
||||
.language-button,
|
||||
.language-option,
|
||||
.input-box,
|
||||
.help-button {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.help-menu,
|
||||
.about-menu,
|
||||
.boot-hash-card,
|
||||
.card,
|
||||
.search-input,
|
||||
.search-card {
|
||||
background-color: #343434;
|
||||
}
|
||||
|
||||
.update-card {
|
||||
background-color: #4D4D4D;
|
||||
}
|
||||
|
||||
.search-card {
|
||||
border: 1px solid #6E6E6E;
|
||||
}
|
||||
@@ -412,9 +811,23 @@ body {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.language-menu,
|
||||
.input-box,
|
||||
.menu-options,
|
||||
#menu-button {
|
||||
background-color: #343434;
|
||||
border: 1px solid #6E6E6E;
|
||||
}
|
||||
|
||||
.language-option,
|
||||
.menu-options li {
|
||||
border-bottom: 1px solid #6E6E6E;
|
||||
}
|
||||
|
||||
.language-option:active,
|
||||
.menu-options li:active,
|
||||
.card:active,
|
||||
.update-card:active {
|
||||
background-color: #616161;
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"description": "Unnecessary app list",
|
||||
"repo-link": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List",
|
||||
"json-link": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/more-excldue.json",
|
||||
"json-link": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/more-excldue.json",
|
||||
"data": [
|
||||
{
|
||||
"info": "Root manager",
|
||||
@@ -54,19 +54,71 @@
|
||||
{
|
||||
"name": "KonaBess",
|
||||
"package-name": "xzr.konabess"
|
||||
},
|
||||
{
|
||||
"name": "KSUWebUI",
|
||||
"package-name": "io.github.a13e300.ksuwebui"
|
||||
},
|
||||
{
|
||||
"name": "Shizuku",
|
||||
"package-name": "moe.shizuku.privileged.api"
|
||||
},
|
||||
{
|
||||
"name": "MMRL",
|
||||
"package-name": "com.dergoogler.mmrl"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"info": "General app that won't detect bootloader",
|
||||
"apps": [
|
||||
{
|
||||
"name": "Scene",
|
||||
"package-name": "com.omarea.vtools"
|
||||
},
|
||||
{
|
||||
"name": "Swift Backup",
|
||||
"package-name": "org.swiftapps.swiftbackup"
|
||||
},
|
||||
{
|
||||
"name": "Google Docs",
|
||||
"package-name": "com.google.android.apps.docs.editors.docs"
|
||||
},
|
||||
{
|
||||
"name": "Google Sheets",
|
||||
"package-name": "com.google.android.apps.docs.editors.sheets"
|
||||
},
|
||||
{
|
||||
"name": "Google Slides",
|
||||
"package-name": "com.google.android.apps.docs.editors.slides"
|
||||
},
|
||||
{
|
||||
"name": "Keep Notes",
|
||||
"package-name": "com.google.android.keep"
|
||||
},
|
||||
{
|
||||
"name": "Google Maps",
|
||||
"package-name": "com.google.android.apps.maps"
|
||||
},
|
||||
{
|
||||
"name": "Google Earth",
|
||||
"package-name": "com.google.earth"
|
||||
},
|
||||
{
|
||||
"name": "Google Translate",
|
||||
"package-name": "com.google.android.apps.translate"
|
||||
},
|
||||
{
|
||||
"name": "Chrome",
|
||||
"package-name": "com.android.chrome"
|
||||
},
|
||||
{
|
||||
"name": "YouTube",
|
||||
"package-name": "com.google.android.youtube"
|
||||
},
|
||||
{
|
||||
"name": "YouTube Music",
|
||||
"package-name": "com.google.android.apps.youtube.music"
|
||||
},
|
||||
{
|
||||
"name": "Speedtest",
|
||||
"package-name": "org.zwanoo.android.speedtest"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"versionCode": 210,
|
||||
"version": "v2.1",
|
||||
"zipUrl": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/download/v2.1/TrickyAddonModule-v2.1.zip",
|
||||
"changelog": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/refs/heads/master/changelog.md"
|
||||
"versionCode": 271,
|
||||
"version": "v2.7.1",
|
||||
"zipUrl": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/download/v2.7.1/TrickyAddonModule-v2.7.1.zip",
|
||||
"changelog": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/changelog.md"
|
||||
}
|
||||
Reference in New Issue
Block a user