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
457 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a20d991ae0 | ||
|
|
8d53dde8a1 | ||
|
|
bff0e1f0d5 | ||
|
|
184d50840c | ||
|
|
4da0590440 | ||
|
|
700419a56c | ||
|
|
05efb7e4a1 | ||
|
|
2a3c0a99dc | ||
|
|
a37c777572 | ||
|
|
07d2d808f1 | ||
|
|
2e07ba36db | ||
|
|
478025f38b | ||
|
|
2ff4eec61e | ||
|
|
1acb97d1b6 | ||
|
|
97bd0083c1 | ||
|
|
6f8d45aac0 | ||
|
|
c38813cd62 | ||
|
|
f1c600df7a | ||
|
|
4806eee8ea | ||
|
|
196cba0424 | ||
|
|
b67def1a37 | ||
|
|
118c614afd | ||
|
|
2e5e5139ee | ||
|
|
8b3910f1e6 | ||
|
|
f018e9ba59 | ||
|
|
6d8fa7fb87 | ||
|
|
ea2711dcdc | ||
|
|
3930a0c29d | ||
|
|
cb7016a21e | ||
|
|
b21ed9b662 | ||
|
|
491f3f88ed | ||
|
|
1fe8bbc26e | ||
|
|
a2b548e278 | ||
|
|
fb9c39845b | ||
|
|
592c1a1dd7 | ||
|
|
cda2d6ada0 | ||
|
|
be06ec45c7 | ||
|
|
cdeacae5bc | ||
|
|
56afd639a4 | ||
|
|
357289b558 | ||
|
|
7058c3cbca | ||
|
|
4947d00f9d | ||
|
|
90f7e79f1e | ||
|
|
cb7e3ad92a | ||
|
|
88348ca26a | ||
|
|
3a06a13f36 | ||
|
|
82b8756867 | ||
|
|
cd10bd2d92 | ||
|
|
bf366b5c33 | ||
|
|
3e222e22f3 | ||
|
|
8fad013c97 | ||
|
|
a96127d6fd | ||
|
|
0f70e0daa6 | ||
|
|
3697d03424 | ||
|
|
89943a99e9 | ||
|
|
ee31267066 | ||
|
|
0ecd59414e | ||
|
|
a198a31a15 | ||
|
|
395c6c276d | ||
|
|
8c4f7c0e5c | ||
|
|
59a74e8ee2 | ||
|
|
770f107559 | ||
|
|
5a8097b40c | ||
|
|
dd8848b5e9 | ||
|
|
5f76a8620a | ||
|
|
b1851ff718 | ||
|
|
3015181d4d | ||
|
|
9c0f958147 | ||
|
|
1818b2be4e | ||
|
|
7fbfaf60f4 | ||
|
|
17ae54a775 | ||
|
|
fa7e014ead | ||
|
|
e3418c9935 | ||
|
|
a1d824f5c9 | ||
|
|
8b69d9529f | ||
|
|
5ce83be187 | ||
|
|
f2a17f481b | ||
|
|
811e5d9289 | ||
|
|
533bdf8fa5 | ||
|
|
a9eab165a0 | ||
|
|
5bbbe4bc08 | ||
|
|
df255096c8 | ||
|
|
b1a52ee173 | ||
|
|
3b355ac5ff | ||
|
|
98ed78cebb | ||
|
|
294a7bf214 | ||
|
|
8f87642319 | ||
|
|
e939f11a72 | ||
|
|
92e654614e | ||
|
|
6b15a09381 | ||
|
|
63c10043dd | ||
|
|
487b2ed434 | ||
|
|
6ed1ec07a8 | ||
|
|
7a07476598 | ||
|
|
5e8d806237 | ||
|
|
ab65ed6520 | ||
|
|
dd786643dc | ||
|
|
c273f1823a | ||
|
|
3d3c47aab4 | ||
|
|
b11fe1dd61 | ||
|
|
6a26150e50 | ||
|
|
1c93287b69 | ||
|
|
d739bc2751 | ||
|
|
defef34bc3 | ||
|
|
e704bda0f7 | ||
|
|
530f006154 | ||
|
|
7a8e5979cd | ||
|
|
48637a0fdb | ||
|
|
ad4cc31c29 | ||
|
|
d5c2fe2cbd | ||
|
|
36ea5f4f99 | ||
|
|
dc84087b33 | ||
|
|
0191078fe5 | ||
|
|
80ffdd3e0d | ||
|
|
9f6faf4e17 | ||
|
|
6419f5e3b9 | ||
|
|
0c659675c5 | ||
|
|
37fce96a11 | ||
|
|
3e36abdbc4 | ||
|
|
9e59a30129 | ||
|
|
b4cd5467ef | ||
|
|
a119c58279 | ||
|
|
1db0259f36 | ||
|
|
4176bd9ce1 | ||
|
|
c879dfa428 | ||
|
|
355c0444c7 | ||
|
|
293f9e1266 | ||
|
|
8e9c7f0db8 | ||
|
|
de5a8b8b87 | ||
|
|
c20e8cde1f | ||
|
|
93e2e8c8ba | ||
|
|
bf726bf863 | ||
|
|
9f859dc488 | ||
|
|
9bed9c0c41 | ||
|
|
211f3d732b | ||
|
|
41ce39be2a | ||
|
|
56ca7ec7a1 | ||
|
|
2784072fb4 | ||
|
|
2a3890e5fb | ||
|
|
59e79b33b7 | ||
|
|
fe76f01439 | ||
|
|
37d78b790e | ||
|
|
30c70d01d6 | ||
|
|
c09f43ab5b | ||
|
|
058ac8dfdc | ||
|
|
735444d8a3 | ||
|
|
6a806ac588 | ||
|
|
3ffe75a1f3 | ||
|
|
4fdc057162 | ||
|
|
b7b5c2c1f0 | ||
|
|
ddeb13c5e2 | ||
|
|
410629fad5 | ||
|
|
7424ed325a | ||
|
|
f1128cd55b | ||
|
|
e5dcc62fdf | ||
|
|
ee169eb2cd | ||
|
|
a9d6833342 | ||
|
|
a8e388d4cf | ||
|
|
09f6f522de | ||
|
|
f2483efc6e | ||
|
|
6ed4df7d9c | ||
|
|
ac4ff62cce | ||
|
|
b6c81362fe | ||
|
|
5f70249003 | ||
|
|
16f1cde2d7 | ||
|
|
96ea764aa0 | ||
|
|
c44a101776 | ||
|
|
581d81d5dd | ||
|
|
d0882dfa57 | ||
|
|
3050ecf84c | ||
|
|
83cd9a0ac8 | ||
|
|
bf8fdb8419 | ||
|
|
edfe2986e7 | ||
|
|
473bd64770 | ||
|
|
68ed991d98 | ||
|
|
553df593ae | ||
|
|
dfc6726e10 | ||
|
|
5a66cba009 | ||
|
|
f8dfe50a0c | ||
|
|
24c00f124d | ||
|
|
5e3836f41f | ||
|
|
41b434f2bb | ||
|
|
5441eb0830 | ||
|
|
046af031d8 | ||
|
|
4977695022 | ||
|
|
0427153ea6 | ||
|
|
2980bda649 | ||
|
|
0821e88fdc | ||
|
|
25ecc49a77 | ||
|
|
42f0b6df77 | ||
|
|
006ca27100 | ||
|
|
f36f5bf7db | ||
|
|
41430b4386 | ||
|
|
6ee2b65b75 | ||
|
|
1a50c322d9 | ||
|
|
83469179e6 | ||
|
|
d534185d48 | ||
|
|
7324d92aeb | ||
|
|
6cd29416ec | ||
|
|
39c303e04e | ||
|
|
8d67689d76 | ||
|
|
2886b7e742 | ||
|
|
2447312286 | ||
|
|
895b3ff1bd | ||
|
|
e18871754f | ||
|
|
a4c08ba08c | ||
|
|
66e048d5a1 | ||
|
|
b81d95d31f | ||
|
|
bb7573f5dd | ||
|
|
ccffd2eaed | ||
|
|
d9c1cdc11d | ||
|
|
e1f9c8904a | ||
|
|
3b98a88c77 | ||
|
|
0b8dcd4503 | ||
|
|
913118ac60 | ||
|
|
cb4276643a | ||
|
|
0087575117 | ||
|
|
5f01b4fed1 | ||
|
|
1f7a4c174b | ||
|
|
19f6b156f6 | ||
|
|
63874eeb8b | ||
|
|
2c5082acbc | ||
|
|
1cb810405a | ||
|
|
142dfdbe81 | ||
|
|
5ef6293924 | ||
|
|
a6b35e8d85 | ||
|
|
51747f261e | ||
|
|
aa7147d115 | ||
|
|
5e9463d8d2 | ||
|
|
d1313d743c | ||
|
|
2542e1a18a | ||
|
|
aa0837ec49 | ||
|
|
684b38afef | ||
|
|
e348fbdd6f | ||
|
|
bb167b760d | ||
|
|
8909a73b59 | ||
|
|
d8848fe5c3 | ||
|
|
2d2cdd7672 | ||
|
|
c1818b6ba2 | ||
|
|
c69337501a | ||
|
|
12a39ce60a | ||
|
|
ec330a4b0b | ||
|
|
7e2c185c5c | ||
|
|
f641f388ad | ||
|
|
f7aee9dc34 | ||
|
|
c19b93ffa3 | ||
|
|
2dc69abea4 | ||
|
|
75ff61e4d2 | ||
|
|
bb3b0abb30 | ||
|
|
502e6f6ea6 | ||
|
|
1d5428e683 | ||
|
|
fe64f37361 | ||
|
|
24548025fe | ||
|
|
d3885966b2 | ||
|
|
ae32ccf973 | ||
|
|
77a6e06631 | ||
|
|
940d809ac5 | ||
|
|
1861e43a81 | ||
|
|
10c02a6924 | ||
|
|
b07c9f8f5a | ||
|
|
dad4bed07e | ||
|
|
a7214cfa81 | ||
|
|
82c489f787 | ||
|
|
de43439200 | ||
|
|
5347ac29bf | ||
|
|
37467411cf | ||
|
|
4fd5b47817 | ||
|
|
610f106913 | ||
|
|
dc46e5f12e | ||
|
|
f46cc964e4 | ||
|
|
a7963c53dc | ||
|
|
7c5b144492 | ||
|
|
4230929dc9 | ||
|
|
437237e3d4 | ||
|
|
cfb51e28fb | ||
|
|
6bdfff7f92 | ||
|
|
4146f09062 | ||
|
|
d223b39e29 | ||
|
|
6bf5009cb8 | ||
|
|
22bdb3986a | ||
|
|
2a04b7426d | ||
|
|
a03b785323 | ||
|
|
d307c57171 | ||
|
|
c6339f4e5d | ||
|
|
4c9e56c1db | ||
|
|
9302d39910 | ||
|
|
06d2edf57f | ||
|
|
ff6244b140 | ||
|
|
dfe4a23f8a | ||
|
|
5dd1496ca7 | ||
|
|
8c831cea39 | ||
|
|
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 | ||
|
|
685a6b89ef | ||
|
|
face2fe644 | ||
|
|
584ad2f2df | ||
|
|
47e383bf69 | ||
|
|
a02ed06557 | ||
|
|
eb8666f79e | ||
|
|
9883922927 | ||
|
|
fcfa723052 | ||
|
|
c347392792 | ||
|
|
cfa795034e | ||
|
|
d16611ddc1 | ||
|
|
b1f75d012e | ||
|
|
3f19e0bee5 | ||
|
|
bd38e1a615 | ||
|
|
bfb4c3293e | ||
|
|
5591a3ed14 | ||
|
|
9d0d1c7e46 | ||
|
|
6bab7df285 | ||
|
|
5d14680bb9 | ||
|
|
3201f9ee16 | ||
|
|
8a0ab7c56d | ||
|
|
55406e377a | ||
|
|
4a9650bd54 | ||
|
|
1ecdbdd96a | ||
|
|
6d8f364d17 | ||
|
|
6994d1845e | ||
|
|
2b023ca1ba | ||
|
|
a2c062fb32 | ||
|
|
09c7cc27f1 | ||
|
|
d4b48998eb | ||
|
|
b410d12e9a |
9
.gitattributes
vendored
9
.gitattributes
vendored
@@ -1,9 +1,6 @@
|
||||
# Declare files that will always have LF line endings on checkout.
|
||||
*.sh text eol=lf
|
||||
*.prop text eol=lf
|
||||
*.md text eol=lf
|
||||
*.xml text eol=lf
|
||||
META-INF/** text eol=lf
|
||||
** text eol=lf
|
||||
|
||||
# Denote all files that are truly binary and should not be modified.
|
||||
common/addon/**/tools/** binary
|
||||
module/bin/*/* binary
|
||||
*.png binary
|
||||
|
||||
5
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
5
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
blank_issues_enabled: true
|
||||
contact_links:
|
||||
- name: View existing translations
|
||||
url: https://crowdin.com/project/TA_utl
|
||||
about: You can modify existing translations in Crowdin.
|
||||
38
.github/ISSUE_TEMPLATE/language_request.yml
vendored
Normal file
38
.github/ISSUE_TEMPLATE/language_request.yml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
name: Language request
|
||||
description: Request a language to be added in WebUI
|
||||
title: "New language request: "
|
||||
labels: []
|
||||
body:
|
||||
- type: input
|
||||
id: langauge
|
||||
attributes:
|
||||
label: Langauge
|
||||
placeholder: English
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: region
|
||||
attributes:
|
||||
label: Region (Optional)
|
||||
placeholder: United States
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: checkboxes
|
||||
id: confirmation
|
||||
attributes:
|
||||
label: Confirmations
|
||||
description: Make sure check the latest canary version to see if the language is already available before submitting issue.
|
||||
options:
|
||||
- label: This language is not already available in WebUI
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: optional
|
||||
attributes:
|
||||
label: Upload translated file (optional)
|
||||
description: Upload translated file based on template.xml if you have translated it
|
||||
placeholder: translate the template in module/webui/locales/template.xml (optional)
|
||||
validations:
|
||||
required: false
|
||||
172
.github/workflows/build.yml
vendored
Normal file
172
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,172 @@
|
||||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'module/**'
|
||||
pull_request:
|
||||
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@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
fetch-tags: true
|
||||
|
||||
- name: Update translation template
|
||||
run: |
|
||||
# Translation template
|
||||
cp -f module/webui/locales/strings/en.xml module/webui/locales/template.xml
|
||||
|
||||
# Commit if found changes
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --global user.name "github-actions[bot]"
|
||||
|
||||
# Force push translation template if changed
|
||||
if git status --porcelain | grep 'module/webui/locales/template.xml'; then
|
||||
git add module/webui/locales/template.xml
|
||||
git commit --amend --no-edit
|
||||
fi
|
||||
|
||||
- name: Update dependency
|
||||
if: github.event_name != 'pull_request'
|
||||
run: |
|
||||
# marked.js
|
||||
curl -Ls https://cdn.jsdelivr.net/npm/marked/marked.min.js > module/webui/scripts/assets/marked.min.js
|
||||
|
||||
# OpenSSL
|
||||
wget -q $(curl -Ls https://api.github.com/repos/KOWX712/openssl-static-build/releases/latest | jq -r '.assets[].browser_download_url') -O openssl.tar.gz
|
||||
tar -xzf openssl.tar.gz
|
||||
mv openssl-arm64 module/bin/arm64-v8a/openssl
|
||||
mv openssl-arm32 module/bin/armeabi-v7a/openssl
|
||||
|
||||
# Commit if found changes
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --global user.name "github-actions[bot]"
|
||||
|
||||
# Commit marked.min.js if changed
|
||||
if git status --porcelain | grep 'module/webui/scripts/assets/marked.min.js'; then
|
||||
git add module/webui/scripts/assets/marked.min.js
|
||||
git commit -m "deps: update marked.min.js"
|
||||
fi
|
||||
|
||||
# Commit OpenSSL files if changed
|
||||
if git status --porcelain | grep -E 'module/bin/arm64-v8a|module/bin/armeabi-v7a'; then
|
||||
git add module/bin/arm64-v8a/openssl module/bin/armeabi-v7a/openssl
|
||||
git commit -m "deps: update OpenSSL binaries"
|
||||
fi
|
||||
|
||||
# Push all commits
|
||||
git push --force
|
||||
|
||||
- name: Extract Module Info
|
||||
id: extract_info
|
||||
run: |
|
||||
MODULE_VERSION=$(grep '^version=' module/module.prop | sed 's/version=//')
|
||||
COMMIT_NUM=$(git rev-list --count HEAD)
|
||||
BUILD_COUNT=${{ github.run_number }}
|
||||
ARTIFACT_NAME="TrickyAddonModule-${MODULE_VERSION}-${COMMIT_NUM}-canary"
|
||||
sed -i "s/^version=.*/& (${COMMIT_NUM}${BUILD_COUNT}-canary)/" module/module.prop
|
||||
sed -i "s/^versionCode=.*/versionCode=${COMMIT_NUM}/" module/module.prop
|
||||
echo "MODULE_VERSION=${MODULE_VERSION}" >> $GITHUB_ENV
|
||||
echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >> $GITHUB_ENV
|
||||
echo "VERSION=${MODULE_VERSION}" >> $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: |
|
||||
if [ "${{ github.event_name }}" = "pull_request" ]; then
|
||||
echo "version_tag_exists=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
git fetch --tags
|
||||
VERSION=${{ env.VERSION }}
|
||||
if git tag | grep -qx "^${VERSION}"; then
|
||||
echo "version_tag_exists=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "version_tag_exists=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
fi
|
||||
|
||||
release:
|
||||
name: release
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: ${{ needs.build.outputs.version_tag_exists == 'false' && github.event_name != 'pull_request' }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set release variables
|
||||
id: set_release_variables
|
||||
run: |
|
||||
VERSION=$(grep '^version=' module/module.prop | sed 's/version=//')
|
||||
RELEASE_NOTES=$(awk -v tag="### $VERSION" '
|
||||
$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")
|
||||
else
|
||||
PRERELEASE=false
|
||||
FORMATTED_RELEASE_NOTES=$(echo -e "### Tricky Addon module\n$RELEASE_NOTES\n")
|
||||
fi
|
||||
|
||||
echo "CURRENT_TAG=$VERSION" >> $GITHUB_ENV
|
||||
echo "ZIP_NAME=TrickyAddonModule-${VERSION}.zip" >> $GITHUB_ENV
|
||||
echo "RELEASE_NOTES<<EOF" >> $GITHUB_ENV
|
||||
echo "$FORMATTED_RELEASE_NOTES" >> $GITHUB_ENV
|
||||
echo "EOF" >> $GITHUB_ENV
|
||||
echo "PRERELEASE=$PRERELEASE" >> $GITHUB_ENV
|
||||
|
||||
- name: Update update.json
|
||||
run: |
|
||||
COMMIT_NUM=$(git rev-list --count HEAD)
|
||||
sed -i "s/\"versionCode\":.*/\"versionCode\": ${COMMIT_NUM},/" update.json
|
||||
sed -i "s/^versionCode=.*/versionCode=${COMMIT_NUM}/" module/module.prop
|
||||
|
||||
git config --global user.email "leecc0503@gmail.com"
|
||||
git config --global user.name "KOWX712"
|
||||
git remote set-url origin "https://${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }}.git"
|
||||
|
||||
git add update.json module/module.prop
|
||||
git commit --amend --no-edit
|
||||
git push --force
|
||||
|
||||
- name: Compress module folder
|
||||
run: |
|
||||
cd module && zip -r "../${{ env.ZIP_NAME }}" ./*
|
||||
|
||||
- name: Create release
|
||||
uses: softprops/action-gh-release@v2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
files: ${{ env.ZIP_NAME }}
|
||||
tag_name: ${{ env.CURRENT_TAG }}
|
||||
name: ${{ env.CURRENT_TAG }}
|
||||
body: ${{ env.RELEASE_NOTES }}
|
||||
draft: false
|
||||
prerelease: ${{ env.PRERELEASE }}
|
||||
39
.github/workflows/crowdin.yml
vendored
Normal file
39
.github/workflows/crowdin.yml
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
name: Crowdin Action
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
paths:
|
||||
- 'module/webui/locales/strings/*.xml'
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
synchronize-with-crowdin:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Crowdin Action
|
||||
uses: crowdin/github-action@v2
|
||||
with:
|
||||
upload_sources: true
|
||||
upload_translations: true
|
||||
auto_approve_imported: true
|
||||
download_translations: true
|
||||
skip_untranslated_files: false
|
||||
skip_untranslated_strings: true
|
||||
|
||||
create_pull_request: true
|
||||
localization_branch_name: crowdin_branch
|
||||
pull_request_labels: 'enhancement, translation'
|
||||
pull_request_title: 'opt: sync translation from Crowdin'
|
||||
|
||||
config: 'crowdin.yml'
|
||||
crowdin_branch_name: main
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
||||
CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }}
|
||||
35
.github/workflows/generate.yml
vendored
Normal file
35
.github/workflows/generate.yml
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
name: generate
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
generate:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: 'bot'
|
||||
|
||||
- name: Generate and encode
|
||||
run: |
|
||||
curl -Ls https://raw.githubusercontent.com/KOWX712/keyboxGenerator/main/keyboxGenerator_v2.0.py | python3
|
||||
base64 -w 0 "keybox.xml" | xxd -p | tr -d '\n' > .device
|
||||
|
||||
- name: Commit changes
|
||||
run: |
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add .device
|
||||
LAST_COMMIT_MSG=$(git log -1 --pretty=%B)
|
||||
if [[ "$LAST_COMMIT_MSG" == "Update .device" ]]; then
|
||||
git commit --amend --no-edit
|
||||
git push --force
|
||||
else
|
||||
git commit -m "Update .device"
|
||||
git push
|
||||
fi
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
__MACOSX
|
||||
.DS_Store
|
||||
applist.json
|
||||
63
README.md
63
README.md
@@ -1,34 +1,49 @@
|
||||
# **Tricky Addon - Update Target List**
|
||||
An addon module for tricky store
|
||||
# Tricky Addon - Update Target List
|
||||
Configure Tricky Store target.txt with KSU WebUI.
|
||||
|
||||
---
|
||||
## Description
|
||||
- Automated script to update tricky store target list.
|
||||
- Custom config: ADDITION and EXCLUDE in `/data/adb/tricky_store/target_list_config`
|
||||
- System app excluded by default
|
||||
- This is **not** a necessary module for root hide but for those who lazy to do it manually
|
||||
[](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/latest)
|
||||
[](https://nightly.link/KOWX712/Tricky-Addon-Update-Target-List/workflows/build/main?status=completed)
|
||||
|
||||
> [!WARNING]
|
||||
> This module is **not** a part of the Tricky Store module. DO NOT report any issues to Tricky Store if encountered.
|
||||
|
||||
## Requirements
|
||||
- Tricky store module installed
|
||||
- [Tricky store](https://github.com/5ec1cff/TrickyStore) module installed
|
||||
|
||||
## 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](https://github.com/5ec1cff/KsuWebUIStandalone) and [MMRL](https://github.com/MMRLApp/MMRL)
|
||||
- Automatic KSUWebUIStandalone install 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
|
||||
### What Can This Module Do
|
||||
| Feature | Status |
|
||||
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----: |
|
||||
| Configure target.txt with app name display | ✅ |
|
||||
| Long press to choose `!` or `?` mode for the app. [Auto](https://github.com/5ec1cff/TrickyStore/releases/tag/1.1.0)<br>Use this only when the app cannot work without this. | ✅ |
|
||||
| Select apps from Magisk DenyList `optional` | ✅ |
|
||||
| Deselect [unnecessary apps](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/main/more-exclude.json) `optional` | ✅ |
|
||||
| Set verifiedBootHash `optional` | ✅ |
|
||||
| Auto config [security patch](https://github.com/5ec1cff/TrickyStore?tab=readme-ov-file#customize-security-patch-level-121), customizable in WebUI | ✅ |
|
||||
| Provide AOSP Keybox `optional` | ✅ |
|
||||
| Import custom Keybox from device storage | ✅ |
|
||||
| Add system apps `not recommended` | ✅ |
|
||||
| Valid Keybox `not guaranteed` | ❌ |
|
||||
| Periodically add all app to target.txt | ❌ |
|
||||
|
||||
## More
|
||||
**Support to pass Patition Check Fail in Minotaur test**
|
||||
- Put Verfied Boot Hash to `boot_hash` in `/data/adb/modules/TA_utl`, reboot.
|
||||
## Localization
|
||||
- Read [Translation Guide](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/main/module/webui/locales/GUIDE.md)
|
||||
|
||||
## Acknowledgement
|
||||
- [j-hc/zygisk-detach](https://github.com/j-hc/zygisk-detach) - KSU WebUI template
|
||||
- [markedjs/marked](https://github.com/markedjs/marked) - Markdown Support
|
||||
- [TMLP-Team/keyboxGenerator](https://github.com/TMLP-Team/keyboxGenerator) - Unknown keybox.xml generator
|
||||
|
||||
## Links
|
||||
Download: [GitHub release](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases)
|
||||
|
||||
Telegram channel: [KOW's Little World](https://t.me/kowchannel)
|
||||
[](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases)
|
||||
[](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/issues)
|
||||
[](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/main/changelog.md)
|
||||
[](https://t.me/kowchannel)
|
||||
|
||||
181
changelog.md
181
changelog.md
@@ -1,15 +1,188 @@
|
||||
### 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
|
||||
### v4.0
|
||||
- **WebUI:** Fixed `Failed to fetch secutiry patch` issue in most condition.
|
||||
- **WebUI:** Added support for [qwq233's TrickyStore fork](https://github.com/qwq233/TrickyStore).
|
||||
- **WebUI:** Provide option to download latest canary version in about menu.
|
||||
- **action:** Removed MMRL from action redirect WebUI since MMRL no longer provide built-in WebUI. (#66, @ThanhCN0)
|
||||
- **WebUI:** Unknown keybox option no longer rely on internet connection.
|
||||
- **WebUI:** Fixed built-in update mechanism might fail in some condition. (@backslashxx)
|
||||
- **WebUI:** Translation service now is avaible on crowdin, view [translation guide](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/main/module/webui/locales/GUIDE.md) for more detail. You can reach our crowdin website in the WebUI langauge menu too.
|
||||
- **WebUI:** Added Ukrainian (#43, @StepanSad), Greek (#61, @Goku818) translation.
|
||||
- **WebUI:** Updated Japanese, Indonesian, Arabic, Polish, French, Portuguese, Ukrainian translation. (@reindex-ot, @Rem01Gaming, @ZG089, @Bladius2024, @GhostFRR, @SecretGogeta, [crowdin@IlliaS](https://crowdin.com/profile/illias))
|
||||
|
||||
### v3.9
|
||||
- **WebUI:** Optmized app loading speed, fixed all known freezing issue.
|
||||
- **WebUI:** Added unknown keybox option, similar to AOSP keybox, removed AOSP keybox fallback when no valid keybox available.
|
||||
- **MMRL:** Added app icon support, enjoy with latest [MMRL](https://github.com/MMRLApp/MMRL/releases/latest) or [WebUI X](https://github.com/MMRLApp/WebUI-X-Portable/releases/latest).
|
||||
- **Action:** Added support for Magisk action redirect WebUI X.
|
||||
- **Script:** Get actual vbmeta size before resetprop.
|
||||
- **WebUI:** Add Portuguese Brazilian Translation (#38, @JeanxPereira)
|
||||
|
||||
### v3.8.1
|
||||
- **WebUI:** Fixed missing aosp key fallback when no valid key is available.
|
||||
|
||||
### v3.8
|
||||
- **WebUI:** Optimized UI.
|
||||
- **WebUI:** Added mirror link fallback to fetch content from raw.githubusercontent.com
|
||||
- **WebUI:** Added French translation (#31, @anaelle-dev)
|
||||
- **WebUI:** Added Arabic Translation (#32, @ZG089)
|
||||
- **WebUI:** Added Azerbaijani Translation (#34, @mnasibzade)
|
||||
|
||||
### v3.7
|
||||
- **WebUI:** Optimized UI.
|
||||
- **WebUI:** Added uninstall confirmation dialog.
|
||||
- **WebUI:** Sanitize text content (#23, @totalolage)
|
||||
- **WebUI:** Added selected language memory.
|
||||
- **WebUI:** Fixed Chinese translation (#26 #27, @xiaokuqwq)
|
||||
- **WebUI:** Added Indonesian translation (#28, @ChiseWaguri)
|
||||
- **WebUI:** Added Italian translation (#30, @luigimak)
|
||||
- **MMRL:** Added monet theme suport.
|
||||
- **MMRL:** Fixed fail to display guide when permission is not granted.
|
||||
- No longer add Play Store by default.
|
||||
|
||||
### v3.6
|
||||
- **WebUI:** Option to add system apps.
|
||||
- **WebUI:** Fixed abnormal gap between content and header in MMRL.
|
||||
- Handle some vbmeta related prop, enforce boot hash to lowercase.
|
||||
- No longer auto config security patch by default (old user will remain current setup).
|
||||
- Fixed issue with disable sucompat.
|
||||
- More minor improvements.
|
||||
|
||||
### v3.5
|
||||
- **Script:** Set `system=prop` in auto config.
|
||||
- **WebUI:** Option to fetch secuirty patch date.
|
||||
- **WebUI:** Fixed `Failed to fetch app list` issue in vanilla rom.
|
||||
- **WebUI:** Added Polish translation (#18, @Bladius2024)
|
||||
- **WebUI:** Update Japanese translation (#20, @reindex-ot)
|
||||
- **WebUI:** Minor UI improvements.
|
||||
|
||||
### v3.4
|
||||
- **WebUI:** Allow import custom keybox from device storage.
|
||||
- **WebUI:** Allow custom config security patch in WebUI, save empty to disable auto config.
|
||||
- **WebUI:** Update Turkish translation (#16, @berkmirsatk)
|
||||
- **WebUI:** Fix wrong changelog version displayed in update changelog.
|
||||
- **MMRL:** Display a guide to enable the JavaScript API in MMRL. Directly request API permission on v33045+
|
||||
- More minor improvements
|
||||
|
||||
### v3.3.1
|
||||
- Fixed security patch logic, use pif.json to get security patch date.
|
||||
- No auto config `security_patch.txt` for security patch lesser than one year.
|
||||
|
||||
### v3.3
|
||||
- Support auto config `security_patch.txt` for Tricky Store v1.2.1 or higher.
|
||||
- No longer need to add `!` to Play Store for devices that have security patch older than one year to get strong integrity in new A13+ check.
|
||||
- **Magisk:** automatically add apps from DenyList to `target.txt` on boot. To enable this feature, click "Select from DenyList" once in WebUI after update.
|
||||
|
||||
### v3.2
|
||||
- Add `android` and `com.android.vending` by default.
|
||||
- Handle `ro.vendor.build.security_patch` if the value is different.
|
||||
- Updated Japanese translation (#11, @reindex-ot)
|
||||
- Added Turkish translation (@berkmirsatk)
|
||||
|
||||
### v3.1
|
||||
- Added `com.google.android.gsf` and `com.android.vending` into WebUI app list. (#10, @ChiseWaguri)
|
||||
- Fixed multiple instances of GMS appeared in the app list when GMS isn't a system app.
|
||||
- Added auto backup `keybox.xml` to `keybox.xml.bak` before replacing it.
|
||||
- Minor animation improvements and code optimizations.
|
||||
- [Markdown support](https://github.com/markedjs/marked) for future update changelog in WebUI.
|
||||
|
||||
### v3.0
|
||||
- Animation improvement: new checkbox animation, new touch ripple animation, and more.
|
||||
- Adjust save button and prompt position in MMRL.
|
||||
- Long press on app to select `!` and `?` mode, use this only when the app cannot work without this.
|
||||
- Display gms in app list.
|
||||
- Show module version in header.
|
||||
- Rewrite update method, you can now update module directly in WebUI.
|
||||
|
||||
### v2.9
|
||||
- Preserve `!` and `?` during update target in WebUI.
|
||||
- Optimized scripts, thanks to @backslashxx.
|
||||
- Fixed freeze in weak connection.
|
||||
- Added Spanish, thanks to @Keinta15.
|
||||
- Removed restriction on installation but module will still be removed if Tricky Store is not found after reboot.
|
||||
|
||||
### v2.8
|
||||
- Fixed all KSUWebUIStandalone freeze issue, removed visible option.
|
||||
- Reduced WebUI loading time.
|
||||
- Added Japanese. Thanks to @reindex-ot.
|
||||
|
||||
### 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, integrate action button & WebUI on Tricky Store card. You can still use visible option if you found any issue with invisible 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/webui/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:**
|
||||
- Added help menu
|
||||
- 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
|
||||
- Added curl binary to fetch Xposed module package name from LSPosed webside
|
||||
|
||||
- **KSU WebUI:**
|
||||
- Added feature to exclude Xposed module package name
|
||||
- Fixed abnormal color in dark mode
|
||||
- Combined save config and update target.txt button
|
||||
- Fixed some more known bugs
|
||||
|
||||
### v2.0
|
||||
- Added WebUI for configuration
|
||||
|
||||
### v1.7
|
||||
- Fixed update issue (Will start to work in next update)
|
||||
|
||||
|
||||
6
crowdin.yml
Normal file
6
crowdin.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
project_id_env: CROWDIN_PROJECT_ID
|
||||
api_token_env: CROWDIN_API_TOKEN
|
||||
preserve_hierarchy: 1
|
||||
files:
|
||||
- source: /module/webui/locales/strings/en.xml
|
||||
translation: /module/webui/locales/strings/%locale%.xml
|
||||
@@ -1,9 +1,19 @@
|
||||
## Tricky Addon Lite: Update Target List Script
|
||||
## Tricky Addon Lite: Update Target List Script (EOL)
|
||||
- Script only, **NOT Module**
|
||||
- Run with root priviledge
|
||||
- Recommend to run with MT manager
|
||||
|
||||
## Changelog
|
||||
### v2.8
|
||||
- Remove wait time
|
||||
|
||||
### v2.1~2.7.1
|
||||
- Remain same with v2.0
|
||||
|
||||
### v2.0
|
||||
- More clarify remark in code
|
||||
- Remove useless code
|
||||
|
||||
### v1.6, v1.7
|
||||
- Remain same with v1.5
|
||||
|
||||
@@ -24,7 +34,6 @@
|
||||
- Synched some code with module script
|
||||
|
||||
## Link
|
||||
[Telegram channel](https://t.me/kowchannel)
|
||||
|
||||
[GitHub Release](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/latest)
|
||||
|
||||
[](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases)
|
||||
[](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/issues)
|
||||
[](https://t.me/kowchannel)
|
||||
|
||||
@@ -1,42 +1,46 @@
|
||||
#!/bin/sh
|
||||
|
||||
# by KOW
|
||||
# Tricky Addon Lite: Update Target List Script v1.7 (v1.5)
|
||||
# GitHub Repository: https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/master/lite-script_only/README.md
|
||||
# Tricky Addon Lite: Update Target List Script v2.8
|
||||
# GitHub Repository: https://github.com/KOWX712/Tricky-Addon-Update-Target-List/tree/main/lite-script_only
|
||||
# Telegram channel: https://t.me/kowchannel
|
||||
|
||||
# This script will put all non-system app into /data/adb/tricky_store/target.txt
|
||||
|
||||
###################################################
|
||||
# Configurable exclude and addition list
|
||||
# DO NOT remove default package names here
|
||||
# Don't remove default package names here
|
||||
###################################################
|
||||
|
||||
EXCLUDE="
|
||||
oneplus
|
||||
coloros
|
||||
miui
|
||||
com.android.patch
|
||||
me.bmax.apatch
|
||||
me.garfieldhan.apatch.next"
|
||||
|
||||
ADDITION="
|
||||
com.google.android.gms
|
||||
com.google.android.gsf
|
||||
com.android.vending
|
||||
io.github.vvb2060.keyattestation
|
||||
io.github.vvb2060.mahoshojo
|
||||
icu.nullptr.nativetest"
|
||||
|
||||
echo " "
|
||||
echo " Staring script..."
|
||||
echo " "
|
||||
###################################################
|
||||
# Script
|
||||
###################################################
|
||||
|
||||
> /data/adb/tricky_store/target.txt
|
||||
|
||||
echo " Adding apps to target.txt..."
|
||||
echo " "
|
||||
echo "- Staring script..."
|
||||
echo " "
|
||||
echo "- Adding apps to target.txt..."
|
||||
|
||||
EXCLUDE=$(echo "$EXCLUDE" | tr '\n' '|' | sed 's/^|//;s/|$//')
|
||||
ADDITION=$(echo "$ADDITION" | tr '\n' ' ' | sed 's/^ //;s/ $//')
|
||||
|
||||
# Add all non-system apps to the target file and remove exclusions
|
||||
su -c pm list packages -3 </dev/null 2>&1 | cat | awk -F: '{print $2}' | grep -Ev "$EXCLUDE" > /data/adb/tricky_store/target.txt
|
||||
sleep 1
|
||||
|
||||
# Add additional apps to the target file if they are not already present
|
||||
for app in $ADDITION; do
|
||||
@@ -45,4 +49,5 @@ for app in $ADDITION; do
|
||||
fi
|
||||
done
|
||||
|
||||
echo " All done!"
|
||||
echo " "
|
||||
echo "- All done!"
|
||||
|
||||
@@ -1,18 +1,60 @@
|
||||
###########################################
|
||||
## This file is NOT a part of Tricky Store
|
||||
###########################################
|
||||
|
||||
MODPATH="/data/adb/modules/.TA_utl"
|
||||
ORG_PATH="$PATH"
|
||||
TMP_DIR="$MODPATH/common/tmp"
|
||||
SCRIPT_DIR="/data/adb/tricky_store"
|
||||
APK_PATH="$TMP_DIR/base.apk"
|
||||
|
||||
echo "**********************************************"
|
||||
echo "- Staring script..."
|
||||
echo " "
|
||||
|
||||
if [ ! -f "$SCRIPT_DIR/UpdateTargetList.sh" ]; then
|
||||
echo "! Script missing, please install module again"
|
||||
echo "**********************************************"
|
||||
manual_download() {
|
||||
echo "$1"
|
||||
sleep 3
|
||||
am start -a android.intent.action.VIEW -d "https://github.com/5ec1cff/KsuWebUIStandalone/releases"
|
||||
exit 1
|
||||
}
|
||||
|
||||
download() {
|
||||
PATH=/data/adb/magisk:/data/data/com.termux/files/usr/bin:$PATH
|
||||
if command -v curl >/dev/null 2>&1; then
|
||||
curl --connect-timeout 10 -Ls "$1"
|
||||
else
|
||||
busybox wget -T 10 --no-check-certificate -qO- "$1"
|
||||
fi
|
||||
PATH="$ORG_PATH"
|
||||
}
|
||||
|
||||
get_webui() {
|
||||
echo "- Downloading KSU WebUI Standalone..."
|
||||
API="https://api.github.com/repos/5ec1cff/KsuWebUIStandalone/releases/latest"
|
||||
ping -c 1 -w 5 raw.githubusercontent.com &>/dev/null || manual_download "! Error: Unable to connect to raw.githubusercontent.com, please download manually."
|
||||
URL=$(download "$API" | grep -o '"browser_download_url": "[^"]*"' | cut -d '"' -f 4) || manual_download "! Error: Unable to get latest version, please download manually."
|
||||
download "$URL" > "$APK_PATH" || manual_download "! Error: APK download failed, please download manually."
|
||||
|
||||
echo "- Installing..."
|
||||
pm install -r "$APK_PATH" || {
|
||||
rm -f "$APK_PATH"
|
||||
manual_download "! Error: APK installation failed, please download manually.."
|
||||
}
|
||||
|
||||
echo "- Done."
|
||||
rm -f "$APK_PATH"
|
||||
|
||||
echo "- Launching WebUI..."
|
||||
am start -n "io.github.a13e300.ksuwebui/.WebUIActivity" -e id "tricky_store"
|
||||
}
|
||||
|
||||
# Launch KSUWebUI standalone or MMRL, install KSUWebUI standalone if both are not installed
|
||||
if pm path io.github.a13e300.ksuwebui >/dev/null 2>&1; then
|
||||
echo "- Launching WebUI in KSUWebUIStandalone..."
|
||||
am start -n "io.github.a13e300.ksuwebui/.WebUIActivity" -e id "tricky_store"
|
||||
elif pm path com.dergoogler.mmrl.wx > /dev/null 2>&1; then
|
||||
echo "- Launching WebUI in WebUI X..."
|
||||
am start -n "com.dergoogler.mmrl.wx/.ui.activity.webui.WebUIActivity" -e MOD_ID "tricky_store"
|
||||
else
|
||||
. "$SCRIPT_DIR/UpdateTargetList.sh"
|
||||
echo "! No WebUI app found"
|
||||
get_webui
|
||||
fi
|
||||
|
||||
echo "**********************************************"
|
||||
echo "\(__All set!__)/"
|
||||
echo "Exiting in 2 seconds..."
|
||||
sleep 2
|
||||
echo "- WebUI launched successfully."
|
||||
BIN
module/bin/arm64-v8a/aapt
Normal file
BIN
module/bin/arm64-v8a/aapt
Normal file
Binary file not shown.
BIN
module/bin/arm64-v8a/openssl
Executable file
BIN
module/bin/arm64-v8a/openssl
Executable file
Binary file not shown.
BIN
module/bin/armeabi-v7a/aapt
Normal file
BIN
module/bin/armeabi-v7a/aapt
Normal file
Binary file not shown.
BIN
module/bin/armeabi-v7a/openssl
Executable file
BIN
module/bin/armeabi-v7a/openssl
Executable file
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -1,9 +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
|
||||
com.android.patch
|
||||
me.bmax.apatch
|
||||
me.garfieldhan.apatch.next
|
||||
@@ -1,45 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# This script will put all non-system app into /data/adb/tricky_store/target.txt
|
||||
MODDIR="/data/adb/tricky_store/target_list_config"
|
||||
|
||||
echo "- Checking config files..."
|
||||
echo " "
|
||||
if [ ! -f "$MODDIR/EXCLUDE" ]; then
|
||||
echo "! Exclude list is missing!"
|
||||
exit 1
|
||||
else
|
||||
echo "- Exclude config file found."
|
||||
echo " "
|
||||
fi
|
||||
if [ ! -f "$MODDIR/ADDITION" ]; then
|
||||
echo "! Addition list is missing"
|
||||
exit 1
|
||||
else
|
||||
echo "- Addition config file found."
|
||||
echo " "
|
||||
fi
|
||||
|
||||
EXCLUDE=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$MODDIR/EXCLUDE" | sed 's/^[[:space:]]*//;s/[[:space:]]*$//' | tr '\n' '|' | sed 's/|$//')
|
||||
ADDITION=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$MODDIR/ADDITION")
|
||||
|
||||
echo "- Overwritting target.txt"
|
||||
echo " "
|
||||
> /data/adb/tricky_store/target.txt
|
||||
|
||||
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
|
||||
sleep 1
|
||||
|
||||
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 " "
|
||||
@@ -1,6 +0,0 @@
|
||||
# This file is to pass Minotaur native test 'Partition Check Fail'
|
||||
# Download Key Attestation (chiteroman fork recommended)
|
||||
# Link: https://github.com/chiteroman/KeyAttestation/releases
|
||||
# Get your VerifiedBootHash value from Key Attestation app
|
||||
# Ask here if you don't know how to do: https://t.me/kowchannelchat
|
||||
# Paste verifiedBootHash value on next line and save
|
||||
281
module/common/get_extra.sh
Normal file
281
module/common/get_extra.sh
Normal file
@@ -0,0 +1,281 @@
|
||||
#!/bin/sh
|
||||
|
||||
# This file is the backend of JavaScript
|
||||
|
||||
MODPATH=${0%/*}
|
||||
SKIPLIST="$MODPATH/tmp/skiplist"
|
||||
XPOSED="$MODPATH/tmp/xposed"
|
||||
|
||||
if [ "$MODPATH" = "/data/adb/modules/.TA_utl/common" ]; then
|
||||
MODDIR="/data/adb/modules/.TA_utl"
|
||||
MAGISK="true"
|
||||
else
|
||||
MODDIR="/data/adb/modules/TA_utl"
|
||||
fi
|
||||
|
||||
aapt() { "$MODPATH/aapt" "$@"; }
|
||||
|
||||
# probe for downloaders
|
||||
# wget = low pref, no ssl.
|
||||
# curl, has ssl on android, we use it if found
|
||||
download() {
|
||||
if command -v curl >/dev/null 2>&1; then
|
||||
curl --connect-timeout 10 -Ls "$1"
|
||||
else
|
||||
busybox wget -T 10 --no-check-certificate -qO- "$1"
|
||||
fi
|
||||
}
|
||||
|
||||
get_xposed() {
|
||||
touch "$XPOSED"
|
||||
pm list packages -3 | cut -d':' -f2 | grep -vxF -f "$SKIPLIST" | grep -vxF -f "$XPOSED" | while read -r PACKAGE; do
|
||||
APK_PATH=$(pm path "$PACKAGE" | grep "base.apk" | cut -d':' -f2 | tr -d '\r')
|
||||
if [ -n "$APK_PATH" ]; then
|
||||
if aapt dump xmltree "$APK_PATH" AndroidManifest.xml 2>/dev/null | grep -qE "xposed.category|xposeddescription"; then
|
||||
echo "$PACKAGE" >> "$XPOSED"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
cat "$XPOSED"
|
||||
}
|
||||
|
||||
get_applist() {
|
||||
pm list packages -3 | awk -F: '{print $2}'
|
||||
[ -s "/data/adb/tricky_store/system_app" ] && SYSTEM_APP=$(cat "/data/adb/tricky_store/system_app" | tr '\n' '|' | sed 's/|*$//') || SYSTEM_APP=""
|
||||
[ -z "$SYSTEM_APP" ] || pm list packages -s | awk -F: '{print $2}' | grep -Ex "$SYSTEM_APP" || true
|
||||
}
|
||||
|
||||
get_appname() {
|
||||
base_apk=$(pm path $package_name | head -n1 | awk -F: '{print $2}')
|
||||
app_name=$(aapt dump badging $base_apk 2>/dev/null | grep "application-label:" | sed "s/application-label://; s/'//g")
|
||||
[ -z "$app_name" ] && app_name="$package_name"
|
||||
echo "$app_name"
|
||||
}
|
||||
|
||||
check_update() {
|
||||
[ -f "$MODDIR/disable" ] && rm -f "$MODDIR/disable"
|
||||
LOCAL_VERSION=$(grep '^versionCode=' "$MODPATH/update/module.prop" | awk -F= '{print $2}')
|
||||
if [ "$REMOTE_VERSION" -gt "$LOCAL_VERSION" ] && [ ! -f "/data/adb/modules/TA_utl/update" ]; then
|
||||
if [ "$CANARY" = "true" ]; then
|
||||
exit 1
|
||||
elif [ "$MAGISK" = "true" ]; then
|
||||
[ -d "/data/adb/modules/TA_utl" ] && rm -rf "/data/adb/modules/TA_utl"
|
||||
cp -rf "$MODPATH/update" "/data/adb/modules/TA_utl"
|
||||
else
|
||||
cp -f "$MODPATH/update/module.prop" "/data/adb/modules/TA_utl/module.prop"
|
||||
fi
|
||||
echo "update"
|
||||
fi
|
||||
}
|
||||
|
||||
uninstall() {
|
||||
if [ "$MAGISK" = "true" ]; then
|
||||
cp -rf "$MODPATH/update" "/data/adb/modules/TA_utl"
|
||||
else
|
||||
cp -f "$MODPATH/update/module.prop" "/data/adb/modules/TA_utl/module.prop"
|
||||
fi
|
||||
touch "/data/adb/modules/TA_utl/remove"
|
||||
}
|
||||
|
||||
get_update() {
|
||||
download "$ZIP_URL" > "$MODPATH/tmp/module.zip"
|
||||
[ -s "$MODPATH/tmp/module.zip" ] || exit 1
|
||||
}
|
||||
|
||||
install_update() {
|
||||
zip_file="$MODPATH/tmp/module.zip"
|
||||
. "$MODPATH/manager.sh"
|
||||
|
||||
case $MANAGER in
|
||||
APATCH)
|
||||
apd module install "$zip_file" || exit 1
|
||||
;;
|
||||
KSU)
|
||||
ksud module install "$zip_file" || exit 1
|
||||
;;
|
||||
MAGISK)
|
||||
magisk --install-module "$zip_file" || exit 1
|
||||
;;
|
||||
*)
|
||||
rm -f "$zip_file" "$MODPATH/tmp/changelog.md" "$MODPATH/tmp/version" || true
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
rm -f "$zip_file" "$MODPATH/tmp/changelog.md" "$MODPATH/tmp/version" || true
|
||||
}
|
||||
|
||||
release_note() {
|
||||
awk -v header="### $VERSION" '
|
||||
$0 == header {
|
||||
print;
|
||||
found = 1;
|
||||
next
|
||||
}
|
||||
found && /^###/ { exit }
|
||||
found { print }
|
||||
' "$MODPATH/tmp/changelog.md"
|
||||
}
|
||||
|
||||
set_security_patch() {
|
||||
# Find pif.json
|
||||
[ -f "/data/adb/modules/playintegrityfix/pif.json" ] && PIF="/data/adb/modules/playintegrityfix/pif.json"
|
||||
[ -f "/data/adb/pif.json" ] && PIF="/data/adb/pif.json"
|
||||
[ -f "/data/adb/modules/playintegrityfix/custom.pif.json" ] && PIF="/data/adb/modules/playintegrityfix/custom.pif.json"
|
||||
|
||||
security_patch=$(grep '"SECURITY_PATCH"' "$PIF" | sed 's/.*: "//; s/".*//')
|
||||
[ -z "$security_patch" ] && security_patch=$(getprop ro.build.version.security_patch) # Fallback
|
||||
|
||||
formatted_security_patch=$(echo "$security_patch" | sed 's/-//g')
|
||||
security_patch_after_1y=$(echo "$formatted_security_patch + 10000" | bc)
|
||||
TODAY=$(date +%Y%m%d)
|
||||
if [ -n "$formatted_security_patch" ] && [ "$TODAY" -lt "$security_patch_after_1y" ]; then
|
||||
TS_version=$(grep "versionCode=" "/data/adb/modules/tricky_store/module.prop" | cut -d'=' -f2)
|
||||
# Official TrickyStore which supports custom security patch
|
||||
if [ "$TS_version" -ge 158 ]; then
|
||||
SECURITY_PATCH_FILE="/data/adb/tricky_store/security_patch.txt"
|
||||
printf "system=prop\nboot=%s\nvendor=%s\n" "$security_patch" "$security_patch" > "$SECURITY_PATCH_FILE"
|
||||
chmod 644 "$SECURITY_PATCH_FILE"
|
||||
# James Clef's TrickyStore fork (GitHub@qwq233/TrickyStore)
|
||||
elif grep -q "James" "/data/adb/modules/tricky_store/module.prop"; then
|
||||
SECURITY_PATCH_FILE="/data/adb/tricky_store/devconfig.toml"
|
||||
if grep -q "^securityPatch" "$SECURITY_PATCH_FILE"; then
|
||||
sed -i "s/^securityPatch .*/securityPatch = \"$security_patch\"/" "$SECURITY_PATCH_FILE"
|
||||
else
|
||||
echo "securityPatch = \"$security_patch\"" >> "$SECURITY_PATCH_FILE"
|
||||
fi
|
||||
# Other
|
||||
else
|
||||
resetprop ro.vendor.build.security_patch "$security_patch"
|
||||
resetprop ro.build.version.security_patch "$security_patch"
|
||||
fi
|
||||
else
|
||||
echo "not set"
|
||||
fi
|
||||
}
|
||||
|
||||
get_latest_security_patch() {
|
||||
security_patch=$(download "https://source.android.com/docs/security/bulletin/pixel" |
|
||||
sed -n 's/.*<td>\([0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}\)<\/td>.*/\1/p' |
|
||||
head -n 1)
|
||||
|
||||
if [ -n "$security_patch" ]; then
|
||||
echo "$security_patch"
|
||||
exit 0
|
||||
elif ! ping -c 1 -W 5 "source.android.com" >/dev/null 2>&1; then
|
||||
echo "Connection failed" >&2
|
||||
fi
|
||||
exit 1
|
||||
}
|
||||
|
||||
unknown_kb() {
|
||||
# adapted from https://github.com/TMLP-Team/keyboxGenerator/blob/main/keyboxGenerator_v2.0.py
|
||||
ECKEY="eckey.pem"
|
||||
CERT="cert.pem"
|
||||
RSAKEY="rsakey.pem"
|
||||
KEYBOX="keybox.xml"
|
||||
|
||||
# gen ec_key
|
||||
openssl ecparam -name prime256v1 -genkey -noout -out "$ECKEY" || exit 1
|
||||
|
||||
# gen cert
|
||||
openssl req -new -x509 -key "$ECKEY" -out "$CERT" -days 3650 -subj "/CN=Generated" || exit 1
|
||||
|
||||
# gen rsa key
|
||||
openssl genrsa -out "$RSAKEY" 2048 || exit 1
|
||||
|
||||
# convert rsa key to PKCS#1
|
||||
openssl rsa -in "$RSAKEY" -out "$RSAKEY" -traditional || exit 1
|
||||
|
||||
# Generate keybox XML
|
||||
cat << KEYBOX_EOF > "$KEYBOX"
|
||||
<?xml version="1.0"?>
|
||||
<AndroidAttestation>
|
||||
<NumberOfKeyboxes>1</NumberOfKeyboxes>
|
||||
<Keybox DeviceID="sw">
|
||||
<Key algorithm="ecdsa">
|
||||
<PrivateKey format="pem">
|
||||
$(sed 's/^/ /' "$ECKEY")
|
||||
</PrivateKey>
|
||||
<CertificateChain>
|
||||
<NumberOfCertificates>1</NumberOfCertificates>
|
||||
<Certificate format="pem">
|
||||
$(sed 's/^/ /' "$CERT")
|
||||
</Certificate>
|
||||
</CertificateChain>
|
||||
</Key>
|
||||
<Key algorithm="rsa">
|
||||
<PrivateKey format="pem">
|
||||
$(sed 's/^/ /' "$RSAKEY")
|
||||
</PrivateKey>
|
||||
</Key>
|
||||
</Keybox>
|
||||
</AndroidAttestation>
|
||||
KEYBOX_EOF
|
||||
|
||||
# cleanup
|
||||
rm -f $ECKEY $CERT $RSAKEY
|
||||
|
||||
if [ -f $KEYBOX ]; then
|
||||
mv /data/adb/tricky_store/keybox.xml /data/adb/tricky_store/keybox.xml.bak
|
||||
mv "$KEYBOX" /data/adb/tricky_store/keybox.xml
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
--download)
|
||||
shift
|
||||
download $@
|
||||
exit
|
||||
;;
|
||||
--xposed)
|
||||
get_xposed
|
||||
exit
|
||||
;;
|
||||
--applist)
|
||||
get_applist
|
||||
exit
|
||||
;;
|
||||
--appname)
|
||||
package_name="$2"
|
||||
get_appname
|
||||
exit
|
||||
;;
|
||||
--check-update)
|
||||
REMOTE_VERSION="$2"
|
||||
check_update
|
||||
exit
|
||||
;;
|
||||
--uninstall)
|
||||
uninstall
|
||||
exit
|
||||
;;
|
||||
--get-update)
|
||||
ZIP_URL="$2"
|
||||
get_update
|
||||
exit
|
||||
;;
|
||||
--install-update)
|
||||
install_update
|
||||
exit
|
||||
;;
|
||||
--release-note)
|
||||
VERSION="$2"
|
||||
release_note
|
||||
exit
|
||||
;;
|
||||
--security-patch)
|
||||
set_security_patch
|
||||
exit
|
||||
;;
|
||||
--get-security-patch)
|
||||
get_latest_security_patch
|
||||
exit
|
||||
;;
|
||||
--unknown-kb)
|
||||
unknown_kb
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
11
module/common/repo.json
Normal file
11
module/common/repo.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"support": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List/issues",
|
||||
"categories": [
|
||||
"WebUI"
|
||||
],
|
||||
"readme": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/refs/heads/main/README.md",
|
||||
"note": {
|
||||
"message": "This module is not a part of the Tricky Store module. DO NOT report any issues to Tricky Store if encountered"
|
||||
},
|
||||
"license": " GPL-3.0"
|
||||
}
|
||||
3
module/common/update/service.sh
Normal file
3
module/common/update/service.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
MODPATH=${0%/*}
|
||||
|
||||
rm -rf "$MODPATH"
|
||||
@@ -1,147 +1,50 @@
|
||||
SKIPUNZIP=0
|
||||
DEBUG=false
|
||||
|
||||
ui_print " ";
|
||||
if [ "$APATCH" ]; then
|
||||
ui_print "- APatch:$APATCH_VER│$APATCH_VER_CODE"
|
||||
elif [ "$KSU" ]; then
|
||||
ui_print "- KSU:$KSU_KERNEL_VER_CODE│$KSU_VER_CODE"
|
||||
elif [ "$MAGISK_VER_CODE" ]; then
|
||||
ui_print "- Magisk:$MAGISK_VER│$MAGISK_VER_CODE"
|
||||
else
|
||||
ui_print " ";
|
||||
ui_print "! recovery is not supported";
|
||||
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"
|
||||
MODID=`grep_prop id $TMPDIR/module.prop`
|
||||
NEW_MODID=".TA_utl"
|
||||
kb="$COMPATH/.default"
|
||||
|
||||
if [ -d "$TS" ]; then
|
||||
ui_print "- Tricky store module installed"
|
||||
ui_print " "
|
||||
ui_print " "
|
||||
if [ "$APATCH" ]; then
|
||||
ui_print "- APatch:$APATCH_VER│$APATCH_VER_CODE"
|
||||
ACTION=false
|
||||
elif [ "$KSU" ]; then
|
||||
if [ "$KSU_NEXT" ]; then
|
||||
ui_print "- KernelSU Next:$KSU_KERNEL_VER_CODE│$KSU_VER_CODE"
|
||||
else
|
||||
ui_print "- KernelSU:$KSU_KERNEL_VER_CODE│$KSU_VER_CODE"
|
||||
fi
|
||||
ACTION=false
|
||||
elif [ "$MAGISK_VER_CODE" ]; then
|
||||
ui_print "- Magisk:$MAGISK_VER│$MAGISK_VER_CODE"
|
||||
else
|
||||
ui_print "! Tricky store module is not installed"
|
||||
abort " "
|
||||
ui_print " "
|
||||
ui_print "! recovery is not supported"
|
||||
abort " "
|
||||
fi
|
||||
|
||||
key_check() {
|
||||
while true; do
|
||||
key_check=$(/system/bin/getevent -qlc 1)
|
||||
key_event=$(echo "$key_check" | awk '{ print $3 }' | grep 'KEY_')
|
||||
key_status=$(echo "$key_check" | awk '{ print $4 }')
|
||||
if [[ "$key_event" == *"KEY_"* && "$key_status" == "DOWN" ]]; then
|
||||
keycheck="$key_event"
|
||||
break
|
||||
fi
|
||||
done
|
||||
while true; do
|
||||
key_check=$(/system/bin/getevent -qlc 1)
|
||||
key_event=$(echo "$key_check" | awk '{ print $3 }' | grep 'KEY_')
|
||||
key_status=$(echo "$key_check" | awk '{ print $4 }')
|
||||
if [[ "$key_event" == *"KEY_"* && "$key_status" == "UP" ]]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
}
|
||||
[ -d "$TS" ] || ui_print "! Warning: Tricky store module not found"
|
||||
|
||||
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"
|
||||
}
|
||||
. "$MODPATH/install_func.sh"
|
||||
|
||||
ui_print "- Installing..."
|
||||
initialize
|
||||
|
||||
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"
|
||||
ui_print "- Finalizing..."
|
||||
find_config
|
||||
migrate_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
|
||||
ui_print "- Migrating old config data"
|
||||
else
|
||||
ui_print "- Creating config folder $CONFIG_DIR"
|
||||
mkdir -p "$CONFIG_DIR"
|
||||
mv "$COMPATH/EXCLUDE" "$CONFIG_DIR/EXCLUDE"
|
||||
mv "$COMPATH/ADDITION" "$CONFIG_DIR/ADDITION"
|
||||
fi
|
||||
|
||||
if [ ! -f "$ORG_DIR/boot_hash" ]; then
|
||||
mv "$COMPATH/boot_hash" "$MODPATH/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
|
||||
|
||||
ui_print "*********************************************"
|
||||
ui_print "- Do you want to replace tricky store keybox?"
|
||||
ui_print " VOL [+]: YES"
|
||||
ui_print " VOL [-]: NO"
|
||||
ui_print "*********************************************"
|
||||
key_check
|
||||
if [[ "$keycheck" == "KEY_VOLUMEUP" ]]; then
|
||||
ui_print "*********************************************"
|
||||
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
|
||||
rm -f "$MODPATH/install_func.sh"
|
||||
|
||||
ui_print " "
|
||||
ui_print "! This module is not a part of the Tricky Store module. DO NOT report any issues to Tricky Store if encountered."
|
||||
ui_print " "
|
||||
|
||||
sleep 1
|
||||
|
||||
ui_print "- Installation completed successfully! "
|
||||
ui_print " "
|
||||
ui_print " "
|
||||
|
||||
63
module/install_func.sh
Normal file
63
module/install_func.sh
Normal file
@@ -0,0 +1,63 @@
|
||||
initialize() {
|
||||
# Cleanup left over
|
||||
[ -d "/data/adb/modules/$NEW_MODID" ] && rm -rf "/data/adb/modules/$NEW_MODID"
|
||||
|
||||
# Set permission
|
||||
set_perm $COMPATH/get_extra.sh 0 2000 0755
|
||||
|
||||
# Handdle Magisk/non-Magisk root manager
|
||||
if [ "$ACTION" = "false" ]; then
|
||||
rm -f "$MODPATH/action.sh"
|
||||
NEW_MODID="$MODID"
|
||||
else
|
||||
mkdir -p "$COMPATH/update/common"
|
||||
cp "$COMPATH/.default" "$COMPATH/update/common/.default"
|
||||
cp "$MODPATH/uninstall.sh" "$COMPATH/update/uninstall.sh"
|
||||
fi
|
||||
|
||||
# Set aapt binary
|
||||
cp "$MODPATH/module.prop" "$COMPATH/update/module.prop"
|
||||
mv "$MODPATH/bin/$(getprop ro.product.cpu.abi)/"* "$COMPATH/"
|
||||
set_perm $COMPATH/aapt 0 2000 0755
|
||||
set_perm $COMPATH/openssl 0 2000 0755
|
||||
rm -rf "$MODPATH/bin"
|
||||
}
|
||||
|
||||
find_config() {
|
||||
# Remove legacy setup
|
||||
[ -f "$SCRIPT_DIR/UpdateTargetList.sh" ] && rm -f "$SCRIPT_DIR/UpdateTargetList.sh"
|
||||
[ -d "$CONFIG_DIR" ] && rm -rf "$CONFIG_DIR"
|
||||
}
|
||||
|
||||
migrate_config() {
|
||||
# remove empty file
|
||||
if [ -f "/data/adb/boot_hash" ]; then
|
||||
hash_value=$(grep -v '^#' "/data/adb/boot_hash" | tr -d '[:space:]' | tr '[:upper:]' '[:lower:]')
|
||||
[ -z "$hash_value" ] && rm -f /data/adb/boot_hash || echo "$hash_value" > /data/adb/boot_hash
|
||||
fi
|
||||
|
||||
# Migrate security_patch config*
|
||||
if [ -f "/data/adb/security_patch" ]; then
|
||||
if grep -q "^auto_config=1" "/data/adb/security_patch"; then
|
||||
touch "/data/adb/tricky_store/security_patch_auto_config"
|
||||
fi
|
||||
rm -f "/data/adb/security_patch"
|
||||
fi
|
||||
|
||||
# Additional system app
|
||||
if [ ! -f "/data/adb/tricky_store/system_app" ]; then
|
||||
SYSTEM_APP="
|
||||
com.google.android.gms
|
||||
com.google.android.gsf
|
||||
com.android.vending
|
||||
com.oplus.deepthinker
|
||||
com.heytap.speechassist
|
||||
com.coloros.sceneservice"
|
||||
touch "/data/adb/tricky_store/system_app"
|
||||
for app in $SYSTEM_APP; do
|
||||
if pm list packages -s | grep -q "$app"; then
|
||||
echo "$app" >> "/data/adb/tricky_store/system_app"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
id=TA_utl
|
||||
name=Tricky Addon - Update Target List
|
||||
version=v1.7
|
||||
versionCode=170
|
||||
version=v4.0
|
||||
versionCode=538
|
||||
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
|
||||
description=A WebUI to conifgure tricky store target.txt
|
||||
updateJson=https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/update.json
|
||||
|
||||
26
module/post-fs-data.sh
Normal file
26
module/post-fs-data.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
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 [ -f "$MODPATH/action.sh" ]; then
|
||||
[ -d "/data/adb/modules/TA_utl" ] && rm -rf "/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
|
||||
fi
|
||||
|
||||
[ -L "$TS/webroot" ] && rm -f "$TS/webroot"
|
||||
[ -L "$TS/action.sh" ] && rm -f "$TS/action.sh"
|
||||
|
||||
# detect root manager
|
||||
[ "$APATCH" = "true" ] && MANAGER="APATCH"
|
||||
[ "$KSU" = "true" ] && MANAGER="KSU"
|
||||
[ ! "$APATCH" = "true" ] && [ ! "$KSU" = "true" ] && MANAGER="MAGISK"
|
||||
echo "MANAGER=$MANAGER" > "$MODPATH/common/manager.sh"
|
||||
chmod 755 "$MODPATH/common/manager.sh"
|
||||
@@ -1,31 +1,132 @@
|
||||
MODPATH=${0%/*}
|
||||
PATH=/data/adb/ap/bin:/data/adb/ksu/bin:/data/adb/magisk:$PATH
|
||||
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:]')
|
||||
if [ -n "$hash_value" ]; then
|
||||
resetprop -n ro.boot.vbmeta.digest "$hash_value"
|
||||
fi
|
||||
aapt() { "$MODPATH/common/aapt" "$@"; }
|
||||
|
||||
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
|
||||
fi
|
||||
add_denylist_to_target() {
|
||||
exclamation_target=$(grep '!' "/data/adb/tricky_store/target.txt" | sed 's/!$//')
|
||||
question_target=$(grep '?' "/data/adb/tricky_store/target.txt" | sed 's/?$//')
|
||||
target=$(sed 's/[!?]$//' /data/adb/tricky_store/target.txt)
|
||||
denylist=$(magisk --denylist ls 2>/dev/null | awk -F'|' '{print $1}' | grep -v "isolated")
|
||||
|
||||
printf "%s\n" "$target" "$denylist" | sort -u > "/data/adb/tricky_store/target.txt"
|
||||
|
||||
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
|
||||
for target in $exclamation_target; do
|
||||
sed -i "s/^$target$/$target!/" "/data/adb/tricky_store/target.txt"
|
||||
done
|
||||
. "$SCRIPT_DIR/UpdateTargetList.sh"
|
||||
fi
|
||||
|
||||
for target in $question_target; do
|
||||
sed -i "s/^$target$/$target?/" "/data/adb/tricky_store/target.txt"
|
||||
done
|
||||
}
|
||||
|
||||
resetprop_if_empty() {
|
||||
CURRENT=$(getprop "$1")
|
||||
[ -z "$CURRENT" ] && resetprop -n "$1" "$2"
|
||||
}
|
||||
|
||||
# Spoof security patch
|
||||
if [ -f "/data/adb/tricky_store/security_patch_auto_config" ]; then
|
||||
sh "$MODPATH/common/get_extra.sh" --security-patch
|
||||
fi
|
||||
|
||||
# Reset vbmeta related prop
|
||||
if [ -f "/data/adb/boot_hash" ]; then
|
||||
hash_value=$(grep -v '^#' "/data/adb/boot_hash" | tr -d '[:space:]' | tr '[:upper:]' '[:lower:]')
|
||||
[ -z "$hash_value" ] && rm -f /data/adb/boot_hash || resetprop -n ro.boot.vbmeta.digest "$hash_value"
|
||||
fi
|
||||
resetprop_if_empty "ro.boot.vbmeta.device_state" "locked"
|
||||
resetprop_if_empty "ro.boot.vbmeta.invalidate_on_error" "yes"
|
||||
resetprop_if_empty "ro.boot.vbmeta.avb_version" "1.0"
|
||||
resetprop_if_empty "ro.boot.vbmeta.hash_alg" "sha256"
|
||||
vbmeta_size=$(busybox blockdev --getbsz "/dev/block/by-name/vbmeta$(getprop ro.boot.slot_suffix)")
|
||||
[ -n "$vbmeta_size" ] || vbmeta_size="4096"
|
||||
resetprop_if_empty "ro.boot.vbmeta.size" "$vbmeta_size"
|
||||
|
||||
# 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
|
||||
|
||||
# Magisk operation
|
||||
if [ -f "$MODPATH/action.sh" ]; then
|
||||
# Hide module from Magisk manager
|
||||
if [ "$MODPATH" != "$HIDE_DIR" ]; then
|
||||
rm -rf "$HIDE_DIR"
|
||||
mkdir -p "$HIDE_DIR"
|
||||
busybox chcon --reference="$MODPATH" "$HIDE_DIR"
|
||||
cp -af "$MODPATH/." "$HIDE_DIR/"
|
||||
fi
|
||||
MODPATH="$HIDE_DIR"
|
||||
|
||||
# Add target from denylist
|
||||
# To trigger this, choose "Select from DenyList" in WebUI once
|
||||
[ -f "/data/adb/tricky_store/target_from_denylist" ] && add_denylist_to_target
|
||||
else
|
||||
[ -d "$HIDE_DIR" ] && rm -rf "$HIDE_DIR"
|
||||
fi
|
||||
|
||||
# Hide module from APatch, KernelSU, KSUWebUIStandalone, MMRL
|
||||
rm -f "$MODPATH/module.prop"
|
||||
|
||||
# Symlink tricky store
|
||||
if [ -f "$MODPATH/action.sh" ] && [ ! -e "$TS/action.sh" ]; then
|
||||
ln -s "$MODPATH/action.sh" "$TS/action.sh"
|
||||
fi
|
||||
if [ ! -e "$TS/webroot" ]; then
|
||||
ln -s "$MODPATH/webui" "$TS/webroot"
|
||||
fi
|
||||
|
||||
# Optimization
|
||||
OUTPUT_APP="$MODPATH/webui/applist.json"
|
||||
OUTPUT_SKIP="$MODPATH/common/tmp/skiplist"
|
||||
OUTPUT_XPOSED="$MODPATH/common/tmp/xposed"
|
||||
|
||||
until [ "$(getprop sys.boot_completed)" = "1" ]; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
# Create temporary directory
|
||||
mkdir -p "$MODPATH/common/tmp"
|
||||
|
||||
# Additional system apps
|
||||
if [ -f "/data/adb/tricky_store/system_app" ]; then
|
||||
SYSTEM_APP=$(cat "/data/adb/tricky_store/system_app" | tr '\n' '|' | sed 's/|*$//')
|
||||
else
|
||||
SYSTEM_APP=""
|
||||
fi
|
||||
|
||||
# Initialize cache files to save app list and skip list
|
||||
echo "[" > "$OUTPUT_APP"
|
||||
echo "# This file is generated from service.sh to speed up load time" > "$OUTPUT_SKIP"
|
||||
|
||||
# Get list of third party apps and specific system apps, then cache app name
|
||||
# Check Xposed module
|
||||
{
|
||||
pm list packages -3 2>/dev/null
|
||||
pm list packages -s | grep -E "$SYSTEM_APP" 2>/dev/null || true
|
||||
} | awk -F: '{print $2}' | while read -r PACKAGE; do
|
||||
# Get APK path for the package
|
||||
APK_PATH=$(pm path "$PACKAGE" 2>/dev/null | head -n1 | awk -F: '{print $2}')
|
||||
APP_NAME=$(aapt dump badging "$APK_PATH" 2>/dev/null | grep "application-label:" | sed "s/application-label://g; s/'//g")
|
||||
[ -z "$APP_NAME" ] && APP_NAME="$PACKAGE"
|
||||
echo " {\"app_name\": \"$APP_NAME\", \"package_name\": \"$PACKAGE\"}," >> "$OUTPUT_APP"
|
||||
|
||||
# Check if app is Xposed module and add to skip list if not
|
||||
touch "$OUTPUT_XPOSED"
|
||||
if aapt dump xmltree "$APK_PATH" AndroidManifest.xml 2>/dev/null | grep -qE "xposed.category|xposeddescription"; then
|
||||
echo "$PACKAGE" >> "$OUTPUT_XPOSED"
|
||||
else
|
||||
echo "$PACKAGE" >> "$OUTPUT_SKIP"
|
||||
fi
|
||||
done
|
||||
|
||||
sed -i '$ s/,$//' "$OUTPUT_APP"
|
||||
echo "]" >> "$OUTPUT_APP"
|
||||
|
||||
[ -f "$MODPATH/action.sh" ] && rm -rf "/data/adb/modules/TA_utl"
|
||||
|
||||
@@ -1,10 +1,21 @@
|
||||
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"
|
||||
rm -f "/data/adb/tricky_store/security_patch_auto_config"
|
||||
rm -f "/data/adb/tricky_store/target_from_denylist"
|
||||
rm -f "/data/adb/tricky_store/system_app"
|
||||
if [ -d "$TS" ]; then
|
||||
[ -L "$TS/webroot" ] && rm -f "$TS/webroot"
|
||||
[ -L "$TS/action.sh" ] && rm -f "$TS/action.sh"
|
||||
fi
|
||||
mv -f "$SCRIPT_DIR/keybox.xml" "$SCRIPT_DIR/keybox.xml.bak"
|
||||
xxd -r -p "$MODPATH/common/.default" | base64 -d > "$SCRIPT_DIR/keybox.xml"
|
||||
|
||||
6
module/webui/config.json
Normal file
6
module/webui/config.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"title": "Tricky Addon",
|
||||
"icon": "icon.png",
|
||||
"windowResize": false,
|
||||
"exitConfirm": false
|
||||
}
|
||||
BIN
module/webui/icon.png
Normal file
BIN
module/webui/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
365
module/webui/index.html
Normal file
365
module/webui/index.html
Normal file
@@ -0,0 +1,365 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>TrickyAddon</title>
|
||||
<link rel="stylesheet" href="styles/global.css" type="text/css">
|
||||
<link rel="stylesheet" href="styles/about.css" type="text/css">
|
||||
<link rel="stylesheet" href="styles/applist.css" type="text/css">
|
||||
<link rel="stylesheet" href="styles/boot_hash.css" type="text/css">
|
||||
<link rel="stylesheet" href="styles/file_selector.css" type="text/css">
|
||||
<link rel="stylesheet" href="styles/header.css" type="text/css">
|
||||
<link rel="stylesheet" href="styles/search_menu.css" type="text/css">
|
||||
<link rel="stylesheet" href="styles/security_patch.css" type="text/css">
|
||||
<link rel="stylesheet" href="styles/system_app.css" type="text/css">
|
||||
<script type="module" crossorigin src="scripts/main.js"></script>
|
||||
<script type="module" crossorigin src="scripts/about.js"></script>
|
||||
<script type="module" crossorigin src="scripts/help.js"></script>
|
||||
<script type="module" crossorigin src="scripts/boot_hash.js"></script>
|
||||
<script type="module" crossorigin src="scripts/security_patch.js"></script>
|
||||
<script src="scripts/assets/marked.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Header -->
|
||||
<div class="header">
|
||||
<div id="title" data-i18n="header_title"></div><span id="module-version"></span>
|
||||
<button id="help-button" class="help-button">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="21px" viewBox="0 -1060 960 990" width="21px" fill="#6E6E6E"><path d="M478-240q21 0 35.5-14.5T528-290q0-21-14.5-35.5T478-340q-21 0-35.5 14.5T428-290q0 21 14.5 35.5T478-240Zm-36-154h74q0-33 7.5-52t42.5-52q26-26 41-49.5t15-56.5q0-56-41-86t-97-30q-57 0-92.5 30T342-618l66 26q5-18 22.5-39t53.5-21q32 0 48 17.5t16 38.5q0 20-12 37.5T506-526q-44 39-54 59t-10 73Zm38 314q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" /></svg>
|
||||
</button>
|
||||
<div class="no-connection">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -920 960 960" width="20px" fill="#6E6E6E"><path d="M790-56 414-434q-47 11-87.5 33T254-346l-84-86q32-32 69-56t79-42l-90-90q-41 21-76.5 46.5T84-516L0-602q32-32 66.5-57.5T140-708l-84-84 56-56 736 736-58 56Zm-310-64q-42 0-71-29.5T380-220q0-42 29-71t71-29q42 0 71 29t29 71q0 41-29 70.5T480-120Zm236-238-29-29-29-29-144-144q81 8 151.5 41T790-432l-74 74Zm160-158q-77-77-178.5-120.5T480-680q-21 0-40.5 1.5T400-674L298-776q44-12 89.5-18t92.5-6q142 0 265 53t215 145l-84 86Z" /></svg>
|
||||
</div>
|
||||
<div class="language-dropdown">
|
||||
<button class="language-button">
|
||||
<i class="language-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="22px" viewBox="0 -960 960 960" width="22px"><path d="M480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-155.5t86-127Q252-817 325-848.5T480-880q83 0 155.5 31.5t127 86q54.5 54.5 86 127T880-480q0 82-31.5 155t-86 127.5q-54.5 54.5-127 86T480-80Zm0-82q26-36 45-75t31-83H404q12 44 31 83t45 75Zm-104-16q-18-33-31.5-68.5T322-320H204q29 50 72.5 87t99.5 55Zm208 0q56-18 99.5-55t72.5-87H638q-9 38-22.5 73.5T584-178ZM170-400h136q-3-20-4.5-39.5T300-480q0-21 1.5-40.5T306-560H170q-5 20-7.5 39.5T160-480q0 21 2.5 40.5T170-400Zm216 0h188q3-20 4.5-39.5T580-480q0-21-1.5-40.5T574-560H386q-3 20-4.5 39.5T380-480q0 21 1.5 40.5T386-400Zm268 0h136q5-20 7.5-39.5T800-480q0-21-2.5-40.5T790-560H654q3 20 4.5 39.5T660-480q0 21-1.5 40.5T654-400Zm-16-240h118q-29-50-72.5-87T584-782q18 33 31.5 68.5T638-640Zm-234 0h152q-12-44-31-83t-45-75q-26 36-45 75t-31 83Zm-200 0h118q9-38 22.5-73.5T376-782q-56 18-99.5 55T204-640Z"/></svg>
|
||||
</i>
|
||||
</button>
|
||||
<div class="language-menu blur-box"></div>
|
||||
<div id="language-overlay" class="language-overlay"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Loading Element -->
|
||||
<div class="loading" data-i18n="loading_loading"></div>
|
||||
|
||||
<!-- Prompt Element -->
|
||||
<div id="prompt" class="prompt"></div>
|
||||
|
||||
<!-- Floating Button Element -->
|
||||
<div class="floating-card">
|
||||
<button class="floating-btn ripple-element" id="save" data-i18n="functional_button_save_and_update_button"></button>
|
||||
</div>
|
||||
|
||||
<!-- Menu Options -->
|
||||
<div class="search-menu-container">
|
||||
<div class="search-card ripple-element blur-box">
|
||||
<span class="search-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="19px" viewBox="0 -960 960 960" width="24px" fill="#6E6E6E"><path d="M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z" /></svg>
|
||||
</span>
|
||||
<input type="text" class="search-input" id="search" placeholder="" data-i18n="search_bar_search_placeholder">
|
||||
<button class="clear-btn" id="clear-btn">✕</button>
|
||||
</div>
|
||||
<div class="menu">
|
||||
<input type="checkbox" id="menu-toggle" class="menu-toggle">
|
||||
<label for="menu-toggle" class="menu-button ripple-element blur-box" id="menu-button">
|
||||
<i class="menu-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -1060 960 960" width="24px"><path d="M120-240v-80h720v80H120Zm0-200v-80h720v80H120Zm0-200v-80h720v80H120Z"/></svg>
|
||||
</i>
|
||||
</label>
|
||||
<div id="menu-options" class="menu-options blur-box">
|
||||
<ul>
|
||||
<li class="ripple-element" id="refresh" data-i18n="menu_refresh"></li>
|
||||
<li class="ripple-element" id="select-all" data-i18n="menu_select_all"></li>
|
||||
<li class="ripple-element" id="deselect-all" data-i18n="menu_deselect_all"></li>
|
||||
<li class="ripple-element" id="select-denylist" data-i18n="menu_select_denylist"></li>
|
||||
<li class="ripple-element" id="deselect-unnecessary" data-i18n="menu_deselect_unnecessary"></li>
|
||||
<li class="ripple-element" id="add-system-app" data-i18n="menu_add_system_app"></li>
|
||||
<li class="ripple-element" id="aospkb" data-i18n="menu_set_aosp_keybox"></li>
|
||||
<li class="ripple-element" id="devicekb" data-i18n="menu_set_unknown_keybox"></li>
|
||||
<li class="ripple-element" id="validkb" data-i18n="menu_set_valid_keybox"></li>
|
||||
<li class="ripple-element" id="customkb" data-i18n="menu_set_custom_keybox"></li>
|
||||
<li class="ripple-element" id="boot-hash" data-i18n="menu_set_verified_boot_hash"></li>
|
||||
<li class="ripple-element" id="security-patch" data-i18n="menu_set_security_patch"></li>
|
||||
<li class="ripple-element" id="shortcut" data-i18n="menu_shortcut"></li>
|
||||
<li class="ripple-element" id="about" data-i18n="menu_about"></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="menu-overlay" class="menu-overlay"></div>
|
||||
</div>
|
||||
|
||||
<!-- Applist Display -->
|
||||
<div id="apps-list"></div>
|
||||
<div class="update-card ripple-element" id="update-card">
|
||||
<p id="update-available" data-i18n="update_update_available"></p>
|
||||
<p id="redirect-to-release" data-i18n="update_redirect_to_release"></p>
|
||||
</div>
|
||||
<div class="mode-overlay"></div>
|
||||
<template id="app-template">
|
||||
<div class="card-box">
|
||||
<div class="card ripple-element" id="card">
|
||||
<div class="content" data-package="">
|
||||
<div class="mode">
|
||||
<label class="mode-switch" id="normal">
|
||||
<input type="radio" class="mode-input" id="normal-mode">
|
||||
<i class="mode-icon">
|
||||
<div class="status-indicator ripple-element" id="normal-indicator">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="30px" viewBox="0 -960 960 960" width="30px" fill="#ffffff"><path d="M480-480Zm0 280q-116 0-198-82t-82-198q0-116 82-198t198-82q116 0 198 82t82 198q0 116-82 198t-198 82Zm0-80q83 0 141.5-58.5T680-480q0-83-58.5-141.5T480-680q-83 0-141.5 58.5T280-480q0 83 58.5 141.5T480-280Z"/></svg>
|
||||
</div>
|
||||
</i>
|
||||
</label>
|
||||
<label class="mode-switch" id="generate">
|
||||
<input type="radio" class="mode-input" id="generate-mode">
|
||||
<i class="mode-icon">
|
||||
<div class="status-indicator ripple-element" id="generate-indicator">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 -960 960 960" width="18px" fill="#ffffff"><path d="M480-120q-33 0-56.5-23.5T400-200q0-33 23.5-56.5T480-280q33 0 56.5 23.5T560-200q0 33-23.5 56.5T480-120Zm-80-240v-480h160v480H400Z"/></svg>
|
||||
</div>
|
||||
</i>
|
||||
</label>
|
||||
<label class="mode-switch" id="hack">
|
||||
<input type="radio" class="mode-input" id="hack-mode">
|
||||
<i class="mode-icon">
|
||||
<div class="status-indicator ripple-element" id="hack-indicator">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="19px" viewBox="0 -960 960 960" width="19px" fill="#ffffff"><path d="M424-320q0-81 14.5-116.5T500-514q41-36 62.5-62.5T584-637q0-41-27.5-68T480-732q-51 0-77.5 31T365-638l-103-44q21-64 77-111t141-47q105 0 161.5 58.5T698-641q0 50-21.5 85.5T609-475q-49 47-59.5 71.5T539-320H424Zm56 240q-33 0-56.5-23.5T400-160q0-33 23.5-56.5T480-240q33 0 56.5 23.5T560-160q0 33-23.5 56.5T480-80Z"/></svg>
|
||||
</div>
|
||||
</i>
|
||||
</label>
|
||||
</div>
|
||||
<p class="name"></p>
|
||||
<div class="checkbox-wrapper">
|
||||
<input type="checkbox" class="checkbox" id="checkbox1" disabled />
|
||||
<label for="checkbox1" class="custom-checkbox">
|
||||
<span class="tick-symbol">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -3 26 26" width="16px" height="16px" fill="#fff"><path d="M 22.566406 4.730469 L 20.773438 3.511719 C 20.277344 3.175781 19.597656 3.304688 19.265625 3.796875 L 10.476563 16.757813 L 6.4375 12.71875 C 6.015625 12.296875 5.328125 12.296875 4.90625 12.71875 L 3.371094 14.253906 C 2.949219 14.675781 2.949219 15.363281 3.371094 15.789063 L 9.582031 22 C 9.929688 22.347656 10.476563 22.613281 10.96875 22.613281 C 11.460938 22.613281 11.957031 22.304688 12.277344 21.839844 L 22.855469 6.234375 C 23.191406 5.742188 23.0625 5.066406 22.566406 4.730469 Z"/></svg>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<!-- Help Overlay -->
|
||||
<div id="help-overlay" class="help-overlay overlay">
|
||||
<div class="help-menu overlay-content blur-box">
|
||||
<button id="close-help" class="close-btn">✕</button>
|
||||
<div class="help-content">
|
||||
<div class="help-content-header" data-i18n="help_help_instructions"></div>
|
||||
<div class="instruction">
|
||||
<strong data-i18n="help_save_and_update"></strong>
|
||||
<p data-i18n="help_save_and_update_description"></p>
|
||||
</div>
|
||||
<div class="instruction">
|
||||
<strong data-i18n="help_refresh"></strong>
|
||||
<p data-i18n="help_refresh_description"></p>
|
||||
</div>
|
||||
<div class="instruction">
|
||||
<strong data-i18n="help_select_deselect"></strong>
|
||||
<p data-i18n="help_select_description"></p>
|
||||
</div>
|
||||
<div class="instruction">
|
||||
<strong data-i18n="help_select_denylist"></strong>
|
||||
<p data-i18n="help_select_denylist_description"></p>
|
||||
</div>
|
||||
<div class="instruction">
|
||||
<strong data-i18n="help_deselect_unnecessary"></strong>
|
||||
<p data-i18n="help_deselect_unnecessary_description"></p>
|
||||
</div>
|
||||
<div class="instruction">
|
||||
<strong data-i18n="help_add_system_app"></strong>
|
||||
<p data-i18n="help_add_system_app_description"></p>
|
||||
</div>
|
||||
<div class="instruction">
|
||||
<strong data-i18n="help_set_keybox"></strong>
|
||||
<p data-i18n="help_set_keybox_description"></p>
|
||||
</div>
|
||||
<div class="instruction">
|
||||
<strong data-i18n="help_set_custom_keybox"></strong>
|
||||
<p data-i18n="help_set_custom_keybox_description"></p>
|
||||
</div>
|
||||
<div class="instruction">
|
||||
<strong data-i18n="help_set_security_patch"></strong>
|
||||
<p data-i18n="help_set_security_patch_description"></p>
|
||||
</div>
|
||||
<div class="instruction">
|
||||
<strong data-i18n="help_set_verified_boot_hash"></strong>
|
||||
<p data-i18n="help_set_verified_boot_hash_description"></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- BootHash Input Overlay -->
|
||||
<div id="boot-hash-overlay" class="boot-hash-overlay overlay">
|
||||
<div id="boot-hash-card" class="boot-hash-card overlay-content blur-box">
|
||||
<div class="boot-hash-title" data-i18n="boot_hash_title"></div>
|
||||
<textarea id="boot-hash-input" class="boot-hash-input" placeholder="Paste your verified Boot Hash here" data-i18n="boot_hash_input_placeholder" oninput="window.trimInput(this)"></textarea>
|
||||
<button id="boot-hash-save-button" class="boot-hash-save-button ripple-element" data-i18n="boot_hash_save_button"></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- About Overlay -->
|
||||
<div id="about-overlay" class="about-overlay overlay">
|
||||
<div class="about-menu overlay-content blur-box">
|
||||
<button id="close-about" class="close-btn">✕</button>
|
||||
<div class="about-title">
|
||||
<p id="module_name_line1" data-i18n="about_module_name_line1"></p>
|
||||
<p id="module_name_line2" data-i18n="about_module_name_line2"></p>
|
||||
<p><span id="authored" data-i18n="about_by"></span> KOWX712</p>
|
||||
</div>
|
||||
<div id="disclaimer" data-i18n="about_disclaimer"></div>
|
||||
<div class="link">
|
||||
<i class="link-icon ripple-element" id="telegram" aria-hidden="true">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M248 8C111 8 0 119 0 256S111 504 248 504 496 393 496 256 385 8 248 8zM363 176.7c-3.7 39.2-19.9 134.4-28.1 178.3-3.5 18.6-10.3 24.8-16.9 25.4-14.4 1.3-25.3-9.5-39.3-18.7-21.8-14.3-34.2-23.2-55.3-37.2-24.5-16.1-8.6-25 5.3-39.5 3.7-3.8 67.1-61.5 68.3-66.7 .2-.7 .3-3.1-1.2-4.4s-3.6-.8-5.1-.5q-3.3 .7-104.6 69.1-14.8 10.2-26.9 9.9c-8.9-.2-25.9-5-38.6-9.1-15.5-5-27.9-7.7-26.8-16.3q.8-6.7 18.5-13.7 108.4-47.2 144.6-62.3c68.9-28.6 83.2-33.6 92.5-33.8 2.1 0 6.6 .5 9.6 2.9a10.5 10.5 0 0 1 3.5 6.7A43.8 43.8 0 0 1 363 176.7z"/></svg>
|
||||
<span id="link-text" data-i18n="about_telegram_channel"></span>
|
||||
</i>
|
||||
<i class="link-icon ripple-element" id="github" aria-hidden="true">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
|
||||
<span id="link-text">GitHub</span>
|
||||
</i>
|
||||
<i class="link-icon ripple-element" id="canary" aria-hidden="true">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px"><path d="M200-120q-51 0-72.5-45.5T138-250l222-270v-240h-40q-17 0-28.5-11.5T280-800q0-17 11.5-28.5T320-840h320q17 0 28.5 11.5T680-800q0 17-11.5 28.5T640-760h-40v240l222 270q32 39 10.5 84.5T760-120H200Zm0-80h560L520-492v-268h-80v268L200-200Zm280-280Z"/></svg>
|
||||
<span id="link-text" data-i18n="about_canary_update"></span>
|
||||
</i>
|
||||
</div>
|
||||
<div class="acknowledgment">
|
||||
<p id="acknowledgment" data-i18n="about_acknowledgment"></p>
|
||||
<p>j-hc/zygisk-detach: WebUI template</p>
|
||||
<p>markedjs/marked: Markdown Support</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Update Overlay -->
|
||||
<div class="update-overlay overlay">
|
||||
<div class="update-menu overlay-content blur-box">
|
||||
<button id="close-update" class="close-btn">✕</button>
|
||||
<div class="update-content">
|
||||
<h1 data-i18n="update_changelog"></h1>
|
||||
<div class="changelog"></div>
|
||||
<div class="update-button-container">
|
||||
<button class="install ripple-element" data-i18n="update_install"></button>
|
||||
<button class="reboot ripple-element" data-i18n="update_reboot"></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- File Selector Overlay -->
|
||||
<div class="file-selector-overlay overlay">
|
||||
<div class="file-selector overlay-content blur-box">
|
||||
<div class="file-selector-header">
|
||||
<button class="back-button">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="22px" viewBox="40 -1050 900 960" width="22px"><path d="M400-93.85 13.85-480 400-866.15l56.77 56.77L127.38-480l329.39 329.38L400-93.85Z"/></svg>
|
||||
</button>
|
||||
<div class="current-path">/storage/emulated/0/Download</div>
|
||||
<button class="close-selector">✕</button>
|
||||
</div>
|
||||
<div class="file-list"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Security Patch Overlay -->
|
||||
<div id="security-patch-overlay" class="security-patch-overlay overlay">
|
||||
<div id="security-patch-card" class="security-patch-card overlay-content blur-box">
|
||||
<div class="security-patch-header" data-i18n="security_patch_title"></div>
|
||||
<div class="security-patch-content">
|
||||
<!-- Usual input -->
|
||||
<div id="normal-mode-inputs" class="normal-mode-inputs">
|
||||
<div class="input-group">
|
||||
<label id="security_patch-all">All</label>
|
||||
<input type="text" id="all-patch" placeholder="20250101" maxlength="8" autocapitalize="none">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Advanced input -->
|
||||
<div id="advanced-mode-inputs" class="advanced-mode-inputs hidden">
|
||||
<div class="input-group">
|
||||
<label id="security_patch-system">System</label>
|
||||
<input type="text" id="system-patch" placeholder="202501" maxlength="6" autocapitalize="none">
|
||||
</div>
|
||||
<div class="input-group">
|
||||
<label id="security_patch-boot">Boot</label>
|
||||
<input type="text" id="boot-patch" placeholder="2025-01-01" autocapitalize="none" oninput="formatDate(this)" maxlength="10">
|
||||
</div>
|
||||
<div class="input-group">
|
||||
<label id="security_patch-vendor">Vendor</label>
|
||||
<input type="text" id="vendor-patch" placeholder="2025-01-01" autocapitalize="none" oninput="formatDate(this)" maxlength="10">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- James' fork input -->
|
||||
<div id="james-mode-inputs" class="normal-mode-inputs hidden">
|
||||
<div class="input-group">
|
||||
<label id="security_patch-james">Security Patch</label>
|
||||
<input type="text" id="james-patch" placeholder="2025-01-01" autocapitalize="none" oninput="formatDate(this)" maxlength="10">
|
||||
</div>
|
||||
<div class="input-group">
|
||||
<label id="os-james">OS Version</label>
|
||||
<input type="text" id="james-os" placeholder="34" maxlength="2" autocapitalize="none">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Advanced Toggle -->
|
||||
<div class="advanced-toggle">
|
||||
<input type="checkbox" class="checkbox" id="advanced-mode" />
|
||||
<label for="advanced-mode" class="custom-checkbox">
|
||||
<span class="tick-symbol">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -3 26 26" width="16px" height="16px" fill="#fff">
|
||||
<path d="M 22.566406 4.730469 L 20.773438 3.511719 C 20.277344 3.175781 19.597656 3.304688 19.265625 3.796875 L 10.476563 16.757813 L 6.4375 12.71875 C 6.015625 12.296875 5.328125 12.296875 4.90625 12.71875 L 3.371094 14.253906 C 2.949219 14.675781 2.949219 15.363281 3.371094 15.789063 L 9.582031 22 C 9.929688 22.347656 10.476563 22.613281 10.96875 22.613281 C 11.460938 22.613281 11.957031 22.304688 12.277344 21.839844 L 22.855469 6.234375 C 23.191406 5.742188 23.0625 5.066406 22.566406 4.730469 Z"/>
|
||||
</svg>
|
||||
</span>
|
||||
</label>
|
||||
<label for="advanced-mode" data-i18n="security_patch_advanced_mode"></label>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<button id="get-patch" class="get-button ripple-element" data-i18n="security_patch_get_date"></button>
|
||||
<div class="button-container">
|
||||
<button id="auto-config" class="auto-button ripple-element" data-i18n="security_patch_auto"></button>
|
||||
<button id="save-patch" class="save-button ripple-element" data-i18n="security_patch_save"></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Add System App Overlay -->
|
||||
<div id="add-system-app-overlay" class="add-system-app-overlay overlay">
|
||||
<div id="add-system-app-card" class="add-system-app-card overlay-content blur-box">
|
||||
<div class="add-system-app-title" data-i18n="add_system_app_title"></div>
|
||||
<div class="add-system-app-content">
|
||||
<input type="text" id="system-app-input" placeholder="com.example.app" autocapitalize="none">
|
||||
<button id="add-system-app-button" class="add-system-app-button ripple-element" data-i18n="add_system_app_add"></button>
|
||||
<h3 class="current-system-app-list" data-i18n="add_system_app_current_list"></h3>
|
||||
<div class="current-system-app-list-content"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Uninstall Confirmation Overlay -->
|
||||
<div class="uninstall-confirmation-overlay overlay" id="uninstall-confirmation-overlay">
|
||||
<div class="uninstall-confirmation overlay-content blur-box">
|
||||
<div class="uninstall-confirmation-title" data-i18n="confirmation_uninstall_title"></div>
|
||||
<p data-i18n="confirmation_uninstall_message"></p>
|
||||
<div class="uninstall-confirmation-button-container">
|
||||
<button class="uninstall-confirmation-button ripple-element" id="cancel-uninstall" data-i18n="confirmation_uninstall_cancel"></button>
|
||||
<button class="uninstall-confirmation-button ripple-element" id="confirm-uninstall" data-i18n="confirmation_uninstall_confirm"></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<div class="footer">
|
||||
<div class="uninstall-container ripple-element hidden-uninstall">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px"><path d="M280-120q-33 0-56.5-23.5T200-200v-520h-40v-80h200v-40h240v40h200v80h-40v520q0 33-23.5 56.5T680-120H280Zm400-600H280v520h400v-520ZM360-280h80v-360h-80v360Zm160 0h80v-360h-80v360ZM280-720v520-520Z" /></svg>
|
||||
<span data-i18n="functional_button_uninstall_webui"></span>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
13
module/webui/locales/GUIDE.md
Normal file
13
module/webui/locales/GUIDE.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Translation Guide
|
||||
|
||||
## Update Existing Language
|
||||
|
||||
- Update translation in [Crowdin](https://crowdin.com/project/TA_utl).
|
||||
- Since crowdin didn't preserve authorship, you can also leave a message in comment section of the pull request that opened by crowdin bot so I can give credit.
|
||||
|
||||
---
|
||||
|
||||
## Add a New Language
|
||||
|
||||
- Create you translation based on [template](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/main/module/webui/locales/template.xml).
|
||||
- Create an [issues](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/issues/new/choose) for language request and upload translated file.
|
||||
19
module/webui/locales/languages.json
Normal file
19
module/webui/locales/languages.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"ar": "العربية",
|
||||
"az": "Azərbaycanca",
|
||||
"el": "Ελληνικά",
|
||||
"en": "English",
|
||||
"es": "Español",
|
||||
"fr": "Français",
|
||||
"id": "Bahasa Indonesia",
|
||||
"it": "Italiano",
|
||||
"ja": "日本語",
|
||||
"pt": "Português",
|
||||
"pl": "Polski",
|
||||
"ru": "Русский",
|
||||
"tl": "Filipino",
|
||||
"tr": "Türkçe",
|
||||
"uk": "Українська",
|
||||
"zh-CN": "简体中文",
|
||||
"zh-TW": "繁體中文"
|
||||
}
|
||||
123
module/webui/locales/strings/ar.xml
Normal file
123
module/webui/locales/strings/ar.xml
Normal file
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">الإعدادات الافتراضية للنظام</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">تعليمات</string>
|
||||
<string name="help_save_and_update">حفظ</string>
|
||||
<string name="help_save_and_update_description">حفظ الإعدادات الحالية إلى target.txt.</string>
|
||||
<string name="help_refresh">تحديث</string>
|
||||
<string name="help_refresh_description">تحديث قائمة التطبيقات وقائمة الاستبعاد.</string>
|
||||
<string name="help_select_deselect">تحديد وإلغاء تحديد الكل</string>
|
||||
<string name="help_select_description">تحديد أو إلغاء تحديد جميع التطبيقات في الواجهة الحالية.</string>
|
||||
<string name="help_select_denylist">تحديد من قائمة الرفض</string>
|
||||
<string name="help_select_denylist_description">متاح في Magisk فقط، حدد التطبيقات الموجودة في قائمة الرفض. موصى به.</string>
|
||||
<string name="help_deselect_unnecessary">إلغاء تحديد غير الضروري</string>
|
||||
<string name="help_deselect_unnecessary_description">فئة غير ضرورية: وحدة Xposed، مدير الجذر، التطبيقات المتعلقة بالجذر، والتطبيقات العامة التي لا تتحقق أبدًا من حالة bootloader. يتطلب هذا الخيار اتصالاً بالإنترنت.</string>
|
||||
<string name="help_add_system_app">إضافة تطبيق نظام</string>
|
||||
<string name="help_add_system_app_description">إضافة تطبيق نظام محدد إلى قائمة التطبيقات.</string>
|
||||
<string name="help_set_keybox">تعيين AOSP و Keybox صالح</string>
|
||||
<string name="help_set_keybox_description">استبدال tricky store keybox.xml. سيتم استبدال keybox AOSP إذا لم يكن هناك keybox صالح آخر. يتطلب خيار keybox الصالح اتصالاً بالإنترنت.</string>
|
||||
<string name="help_set_custom_keybox">تعيين Keybox مخصص</string>
|
||||
<string name="help_set_custom_keybox_description">استيراد keybox من تخزين جهازك. يدعم فقط ملف xml.</string>
|
||||
<string name="help_set_security_patch">تعيين تصحيح الأمان</string>
|
||||
<string name="help_set_security_patch_description">تعيين تصحيح أمان مخصص. سيستخدم التكوين التلقائي تصحيح الأمان من وحدة PIF. اتركه فارغًا واحفظه لتعطيل التكوين التلقائي.</string>
|
||||
<string name="help_set_verified_boot_hash">تعيين تجزئة التمهيد الموثوق</string>
|
||||
<string name="help_set_verified_boot_hash_description">احصل على قيمة verifiedBootHash من عرض إثبات المفتاح. إصلاح حالة التمهيد غير الطبيعية عن طريق إعادة تعيين ro.boot.vbmeta.digest.</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">إصدار جديد جاهز</string>
|
||||
<string name="update_redirect_to_release">اضغط لتنزيل أحدث إصدار</string>
|
||||
<string name="update_changelog">سجل التغييرات</string>
|
||||
<string name="update_install">تثبيت</string>
|
||||
<string name="update_reboot">إعادة تشغيل</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">بحث</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">حفظ</string>
|
||||
<string name="functional_button_uninstall_webui">إلغاء تثبيت WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">جارٍ التحميل...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">تحديث</string>
|
||||
<string name="menu_select_all">تحديد الكل</string>
|
||||
<string name="menu_deselect_all">إلغاء تحديد الكل</string>
|
||||
<string name="menu_select_denylist">تحديد من قائمة الرفض</string>
|
||||
<string name="menu_deselect_unnecessary">إلغاء تحديد غير الضروري</string>
|
||||
<string name="menu_add_system_app">إضافة تطبيق نظام</string>
|
||||
<string name="menu_set_aosp_keybox">تعيين Keybox AOSP</string>
|
||||
<string name="menu_set_unknown_keybox">تعيين Keybox غير معروف</string>
|
||||
<string name="menu_set_valid_keybox">تعيين Keybox صالح</string>
|
||||
<string name="menu_set_custom_keybox">تعيين Keybox مخصص</string>
|
||||
<string name="menu_set_verified_boot_hash">تعيين تجزئة التمهيد الموثوق</string>
|
||||
<string name="menu_set_security_patch">تعيين تصحيح الأمان</string>
|
||||
<string name="menu_about">حول</string>
|
||||
<string name="menu_shortcut">إنشاء اختصار على الشاشة الرئيسية</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">تجزئة التمهيد</string>
|
||||
<string name="boot_hash_input_placeholder">الصق تجزئة التمهيد الموثوق هنا</string>
|
||||
<string name="boot_hash_save_button">حفظ</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">تحديث قائمة الأهداف</string>
|
||||
<string name="about_by">بواسطة</string>
|
||||
<string name="about_telegram_channel">قناة التليجرام</string>
|
||||
<string name="about_disclaimer">هذه الوحدة ليست جزءًا من وحدة Tricky Store. لا تقم بالإبلاغ عن أي مشاكل إلى Tricky Store إذا واجهت أيًا منها.</string>
|
||||
<string name="about_acknowledgment">شكر وتقدير</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">يرجى التحقق من اتصالك بالإنترنت</string>
|
||||
<string name="prompt_aosp_key_set">تم تعيين keybox AOSP بنجاح</string>
|
||||
<string name="prompt_key_set_error">فشل في تحديث keybox</string>
|
||||
<string name="prompt_unknown_key_set">تم تعيين Keybox غير معروف بنجاح</string>
|
||||
<string name="prompt_valid_key_set">تم تعيين keybox صالح بنجاح</string>
|
||||
<string name="prompt_no_valid">لم يتم العثور على keybox صالح.</string>
|
||||
<string name="prompt_boot_hash_set">تم حفظ تجزئة التمهيد الموثوق بنجاح</string>
|
||||
<string name="prompt_boot_hash_set_error">فشل في تحديث تجزئة التمهيد الموثوق</string>
|
||||
<string name="prompt_saved_target">تم حفظ التكوين إلى target.txt</string>
|
||||
<string name="prompt_save_error">فشل في حفظ التكوين</string>
|
||||
<string name="prompt_uninstall_prompt">سيتم إزالة WebUI بعد إعادة التشغيل</string>
|
||||
<string name="prompt_uninstall_failed">فشل في إلغاء تثبيت WebUI</string>
|
||||
<string name="prompt_new_update">تحديث جديد متاح!</string>
|
||||
<string name="prompt_downloading">جارٍ تنزيل التحديث الجديد...</string>
|
||||
<string name="prompt_downloaded">اكتمل التنزيل</string>
|
||||
<string name="prompt_download_fail">فشل في تنزيل التحديث</string>
|
||||
<string name="prompt_installing">جارٍ تثبيت التحديث...</string>
|
||||
<string name="prompt_installed">تم التثبيت بنجاح، أعد التشغيل الآن.</string>
|
||||
<string name="prompt_install_fail">فشل في التثبيت، يرجى التحديث يدويًا</string>
|
||||
<string name="prompt_rebooting">جارٍ إعادة التشغيل...</string>
|
||||
<string name="prompt_reboot_fail">فشل في إعادة التشغيل، يرجى إعادة التشغيل يدويًا</string>
|
||||
<string name="prompt_custom_key_set">تم تعيين keybox مخصص بنجاح</string>
|
||||
<string name="prompt_custom_key_set_error">فشل في تعيين keybox مخصص</string>
|
||||
<string name="prompt_no_file_selected">لم يتم اختيار أي ملف</string>
|
||||
<string name="prompt_system_app_not_found">لم يتم العثور على تطبيق النظام</string>
|
||||
<string name="prompt_system_app_error">فشل في إضافة تطبيق النظام</string>
|
||||
<string name="prompt_shortcut_created">تم إنشاء اختصار على الشاشة الرئيسية</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">تصحيح الأمان</string>
|
||||
<string name="security_patch_advanced_mode">متقدم</string>
|
||||
<string name="security_patch_get_date">الحصول على تاريخ تصحيح الأمان</string>
|
||||
<string name="security_patch_auto">تلقائي</string>
|
||||
<string name="security_patch_save">حفظ</string>
|
||||
<string name="security_patch_fetching">جارٍ التحميل...</string>
|
||||
<string name="security_patch_fetched">تم</string>
|
||||
<string name="security_patch_get_failed">فشل في جلب تاريخ تصحيح الأمان</string>
|
||||
<string name="security_patch_unable_to_connect">غير قادر على الاتصال ب source.android.com</string>
|
||||
<string name="security_patch_auto_success">تم تفعيل التكوين التلقائي بنجاح</string>
|
||||
<string name="security_patch_auto_failed">فشل في تفعيل التكوين التلقائي</string>
|
||||
<string name="security_patch_save_success">تم حفظ تصحيح الأمان بنجاح</string>
|
||||
<string name="security_patch_save_failed">فشل في حفظ تصحيح الأمان</string>
|
||||
<string name="security_patch_value_empty">تم تعطيل تكوين تصحيح الأمان</string>
|
||||
<string name="security_patch_invalid_all">تنسيق غير صالح</string>
|
||||
<string name="security_patch_invalid_boot">تنسيق تمهيد غير صالح</string>
|
||||
<string name="security_patch_invalid_system">تنسيق نظام غير صالح</string>
|
||||
<string name="security_patch_invalid_vendor">تنسيق بائع غير صالح</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">إضافة تطبيق نظام</string>
|
||||
<string name="add_system_app_add">إضافة</string>
|
||||
<string name="add_system_app_current_list">قائمة تطبيقات النظام الحالية</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">تأكيد إلغاء التثبيت؟</string>
|
||||
<string name="confirmation_uninstall_message">هل أنت متأكد أنك تريد إلغاء تثبيت Tricky Addon</string>
|
||||
<string name="confirmation_uninstall_cancel">إلغاء</string>
|
||||
<string name="confirmation_uninstall_confirm">تأكيد</string>
|
||||
</resources>
|
||||
122
module/webui/locales/strings/az.xml
Normal file
122
module/webui/locales/strings/az.xml
Normal file
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">Sistem Varsayılanı</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">Təlimatlar</string>
|
||||
<string name="help_save_and_update">Yadda saxla</string>
|
||||
<string name="help_save_and_update_description">Cari konfiqurasiyanı target.txt faylına yadda saxla.</string>
|
||||
<string name="help_refresh">Təzələ</string>
|
||||
<string name="help_refresh_description">Proqram siyahısını və istisna siyahısını təzələ.</string>
|
||||
<string name="help_select_deselect">Hamısını seç və seçimi ləğv et</string>
|
||||
<string name="help_select_description">Cari interfeysdəki bütün tətbiqləri seç və ya seçimdən çıxar.</string>
|
||||
<string name="help_select_denylist">DenyList-dən seç</string>
|
||||
<string name="help_select_denylist_description">Yalnız Magisk-də mövcuddur, DenyList-də olan tətbiqləri seçin. Tövsiyə olunur.</string>
|
||||
<string name="help_deselect_unnecessary">Lazımsızları seçmə</string>
|
||||
<string name="help_deselect_unnecessary_description">Lazımsız kateqoriya: Xposed modulu, kök meneceri, kök ilə əlaqəli tətbiqlər və heç vaxt bootloader statusunu yoxlamayan ümumi tətbiqlər. Bu seçim İnternet bağlantısı tələb edir.</string>
|
||||
<string name="help_add_system_app">Sistem Tətbiqi Əlavə et</string>
|
||||
<string name="help_add_system_app_description">Müəyyən bir sistem tətbiqini tətbiq siyahısına əlavə et.</string>
|
||||
<string name="help_set_keybox">AOSP & Etibarlı Keybox təyin et</string>
|
||||
<string name="help_set_keybox_description">Tricky store keybox.xml-ni dəyişdir. Əgər etibarlı keybox yoxdursa, AOSP keybox dəyişdiriləcək. Etibarlı keybox seçimi İnternet bağlantısı tələb edir.</string>
|
||||
<string name="help_set_custom_keybox">Özəl Keybox təyin et</string>
|
||||
<string name="help_set_custom_keybox_description">Keybox-u cihaz yaddaşından idxal et. Yalnız xml faylını dəstəkləyir.</string>
|
||||
<string name="help_set_security_patch">Təhlükəsizlik Təkmilləşdirməsini təyin et</string>
|
||||
<string name="help_set_security_patch_description">Xüsusi təhlükəsizlik təkmilləşdirməsini dəyişdir. Avtomatik konfiqurasiya, PIF modulundan təhlükəsizlik təkmilləşdirməsini istifadə edəcək. Avtomatik konfiqurasiyanı dayandırmaq üçün boş buraxın və yadda saxlayın.</string>
|
||||
<string name="help_set_verified_boot_hash">Təsdiqlənmiş Boot Hash təyin et</string>
|
||||
<string name="help_set_verified_boot_hash_description">Key Attestation Demo-dan verifiedBootHash dəyərini əldə et. ro.boot.vbmeta.digest-ni sıfırlayaraq qeyri-adi boot vəziyyətini düzəlt.</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">Yeni versiya mövcuddur</string>
|
||||
<string name="update_redirect_to_release">Ən son versiyanı yükləmək üçün klikləyin</string>
|
||||
<string name="update_changelog">Dəyişikliklər</string>
|
||||
<string name="update_install">Yüklə</string>
|
||||
<string name="update_reboot">Yenidən başladın</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">Axtar</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">Yadda saxla</string>
|
||||
<string name="functional_button_uninstall_webui">WebUI-ni sil</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">Yüklənir...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">Təzələ</string>
|
||||
<string name="menu_select_all">Hamısını seç</string>
|
||||
<string name="menu_deselect_all">Hamısının seçimini ləğv et</string>
|
||||
<string name="menu_select_denylist">DenyList-dən seç</string>
|
||||
<string name="menu_deselect_unnecessary">Lazımsızları seçmə</string>
|
||||
<string name="menu_add_system_app">Sistem Tətbiqi Əlavə et</string>
|
||||
<string name="menu_set_aosp_keybox">AOSP Keybox təyin et</string>
|
||||
<string name="menu_set_unknown_keybox">Naməlum Keybox təyin et</string>
|
||||
<string name="menu_set_valid_keybox">Etibarlı Keybox təyin et</string>
|
||||
<string name="menu_set_custom_keybox">Özəl Keybox təyin et</string>
|
||||
<string name="menu_set_verified_boot_hash">Təsdiqlənmiş Boot Hash təyin et</string>
|
||||
<string name="menu_set_security_patch">Təhlükəsizlik Təkmilləşdirməsini təyin et</string>
|
||||
<string name="menu_about">Haqqında</string>
|
||||
<string name="menu_shortcut">Ana ekran qısayolu yarat</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">Boot Hash</string>
|
||||
<string name="boot_hash_input_placeholder">Təsdiqlənmiş Boot Hash-ı buraya yapışdırın</string>
|
||||
<string name="boot_hash_save_button">Yadda saxla</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">Hədəf Siyahısını Yenilə</string>
|
||||
<string name="about_by">tərəfindən</string>
|
||||
<string name="about_telegram_channel">Telegram Kanalı</string>
|
||||
<string name="about_disclaimer">Bu mod, Tricky Store modulunun bir hissəsi deyil. Qarşılaşılan hər hansı bir problemi Tricky Store-a bildirməyin.</string>
|
||||
<string name="about_acknowledgment">Təşəkkür</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">İnternet bağlantınızı yoxlayın</string>
|
||||
<string name="prompt_aosp_key_set">AOSP keybox uğurla təyin olundu</string>
|
||||
<string name="prompt_key_set_error">Keybox-u yeniləmək mümkün olmadı</string>
|
||||
<string name="prompt_unknown_key_set">Naməlum keybox uğurla təyin olundu</string>
|
||||
<string name="prompt_valid_key_set">Etibarlı keybox uğurla təyin olundu</string>
|
||||
<string name="prompt_no_valid">Etibarlı keybox tapılmadı.</string>
|
||||
<string name="prompt_boot_hash_set">Təsdiqlənmiş Boot Hash uğurla yadda saxlanıldı</string>
|
||||
<string name="prompt_boot_hash_set_error">Təsdiqlənmiş Boot Hash yenilənə bilmədi</string>
|
||||
<string name="prompt_saved_target">Konfiqurasiya target.txt-yə yadda saxlanıldı</string>
|
||||
<string name="prompt_save_error">Konfiqurasiyanı yadda saxlamaq mümkün olmadı</string>
|
||||
<string name="prompt_uninstall_prompt">WebUI yenidən başladıqdan sonra silinəcək</string>
|
||||
<string name="prompt_uninstall_failed">WebUI-ni silmək mümkün olmadı</string>
|
||||
<string name="prompt_new_update">Yeni bir yeniləmə mövcuddur!</string>
|
||||
<string name="prompt_downloading">Yeni yeniləməni yükləyir...</string>
|
||||
<string name="prompt_downloaded">Yükləmə tamamlandı</string>
|
||||
<string name="prompt_download_fail">Yeniləməni yükləmək mümkün olmadı</string>
|
||||
<string name="prompt_installing">Yeniləmə quraşdırılır...</string>
|
||||
<string name="prompt_installed">Uğurla quraşdırıldı, indi yenidən başladın.</string>
|
||||
<string name="prompt_install_fail">Quraşdırmaq mümkün olmadı, zəhmət olmasa əl ilə yeniləyin</string>
|
||||
<string name="prompt_rebooting">Yenidən başladılır...</string>
|
||||
<string name="prompt_reboot_fail">Yenidən başlatmaq mümkün olmadı, zəhmət olmasa əl ilə yenidən başlayın</string>
|
||||
<string name="prompt_custom_key_set">Özəl keybox uğurla təyin olundu</string>
|
||||
<string name="prompt_custom_key_set_error">Özəl keybox təyin oluna bilmədi</string>
|
||||
<string name="prompt_no_file_selected">Fayl seçilməyib</string>
|
||||
<string name="prompt_system_app_not_found">Sistem tətbiqi tapılmadı</string>
|
||||
<string name="prompt_system_app_error">Sistem tətbiqini əlavə etmək mümkün olmadı</string>
|
||||
<string name="prompt_shortcut_created">Ana ekran qısayolu yaradıldı</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">Təhlükəsizlik Təkmilləşdirməsi</string>
|
||||
<string name="security_patch_advanced_mode">Ətraflı</string>
|
||||
<string name="security_patch_get_date">Təhlükəsizlik Təkmilləşdirməsinin Tarixini Al</string>
|
||||
<string name="security_patch_auto">Avtomatik</string>
|
||||
<string name="security_patch_save">Yadda saxla</string>
|
||||
<string name="security_patch_fetching">Yığılır...</string>
|
||||
<string name="security_patch_fetched">Tamam</string>
|
||||
<string name="security_patch_get_failed">Təhlükəsizlik təkmilləşdirməsinin tarixini almaq mümkün olmadı</string>
|
||||
<string name="security_patch_auto_success">Avtomatik konfiqurasiya uğurla aktivləşdirildi</string>
|
||||
<string name="security_patch_auto_failed">Avtomatik konfiqurasiyanı aktivləşdirmək mümkün olmadı</string>
|
||||
<string name="security_patch_save_success">Təhlükəsizlik təkmilləşdirməsi uğurla yadda saxlanıldı</string>
|
||||
<string name="security_patch_save_failed">Təhlükəsizlik təkmilləşdirməsini yadda saxlamaq mümkün olmadı</string>
|
||||
<string name="security_patch_value_empty">Təhlükəsizlik təkmilləşdirməsi konfiqurasiyası deaktivdir</string>
|
||||
<string name="security_patch_invalid_all">Yanlış format</string>
|
||||
<string name="security_patch_invalid_boot">Yanlış boot formatı</string>
|
||||
<string name="security_patch_invalid_system">Yanlış sistem formatı</string>
|
||||
<string name="security_patch_invalid_vendor">Yanlış vendor formatı</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">Sistem Tətbiqi Əlavə et</string>
|
||||
<string name="add_system_app_add">Əlavə et</string>
|
||||
<string name="add_system_app_current_list">Cari Sistem Tətbiqi Siyahısı</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">Silinməni Təsdiqləyirsiniz?</string>
|
||||
<string name="confirmation_uninstall_message">Tricky Addon-u silmək istədiyinizə əminsinizmi?</string>
|
||||
<string name="confirmation_uninstall_cancel">İmtina et</string>
|
||||
<string name="confirmation_uninstall_confirm">Təsdiqlə</string>
|
||||
</resources>
|
||||
122
module/webui/locales/strings/el.xml
Normal file
122
module/webui/locales/strings/el.xml
Normal file
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">Προεπιλογή Συστήματος</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">Οδηγίες</string>
|
||||
<string name="help_save_and_update">Αποθήκευση</string>
|
||||
<string name="help_save_and_update_description">Αποθήκευσε την τρέχουσα ρύθμιση στο target.txt.</string>
|
||||
<string name="help_refresh">Ανανέωση</string>
|
||||
<string name="help_refresh_description">Ανανέωσε τη λίστα εφαρμογών και τη λίστα αποκλεισμού.</string>
|
||||
<string name="help_select_deselect">Επιλογή & Αποεπιλογή Όλων</string>
|
||||
<string name="help_select_description">Επίλεξε ή αποεπίλεξε όλες τις εφαρμογές στην τρέχουσα οθόνη.</string>
|
||||
<string name="help_select_denylist">Επίλεξε από DenyList</string>
|
||||
<string name="help_select_denylist_description">Διαθέσιμο μόνο στο Magisk, επίλεξε εφαρμογές που είναι στη DenyList. Συνιστάται.</string>
|
||||
<string name="help_deselect_unnecessary">Αποεπίλεξε άχρηστα</string>
|
||||
<string name="help_deselect_unnecessary_description">Άχρηστη κατηγορία: Xposed module, root manager, root-related apps, και γενικές εφαρμογές που ποτέ δεν ελέγχουν κατάσταση bootloader. Απαιτεί σύνδεση Internet.</string>
|
||||
<string name="help_add_system_app">Πρόσθεσε Εφαρμογή Συστήματος</string>
|
||||
<string name="help_add_system_app_description">Πρόσθεσε συγκεκριμένη εφαρμογή συστήματος στη λίστα εφαρμογών.</string>
|
||||
<string name="help_set_keybox">Όρισε AOSP & Έγκυρο Keybox</string>
|
||||
<string name="help_set_keybox_description">Αντικατέστησε το tricky store keybox.xml. Το AOSP keybox θα αντικατασταθεί αν δεν υπάρχει έγκυρο keybox. Η επιλογή valid keybox απαιτεί σύνδεση Internet.</string>
|
||||
<string name="help_set_custom_keybox">Όρισε Custom Keybox</string>
|
||||
<string name="help_set_custom_keybox_description">Εισήγαγε keybox από τη συσκευή σου. Υποστηρίζεται μόνο αρχείο xml.</string>
|
||||
<string name="help_set_security_patch">Όρισε Security Patch</string>
|
||||
<string name="help_set_security_patch_description">Όρισε spoof για custom security patch. Η αυτόματη ρύθμιση χρησιμοποιεί το security patch από το PIF module. Άφησε κενό και αποθήκευσε για απενεργοποίηση αυτόματης ρύθμισης.</string>
|
||||
<string name="help_set_verified_boot_hash">Όρισε Verified Boot Hash</string>
|
||||
<string name="help_set_verified_boot_hash_description">Πάρε την τιμή verifiedBootHash από το Key Attestation Demo. Διόρθωσε την ανώμαλη κατάσταση εκκίνησης επαναφέροντας το ro.boot.vbmeta.digest.</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">Μια νέα έκδοση είναι έτοιμη</string>
|
||||
<string name="update_redirect_to_release">πάτησε για να κατεβάσεις την τελευταία έκδοση</string>
|
||||
<string name="update_changelog">Αλλαγές</string>
|
||||
<string name="update_install">Εγκατάσταση</string>
|
||||
<string name="update_reboot">Επανεκκίνηση</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">Αναζήτηση</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">Αποθήκευση</string>
|
||||
<string name="functional_button_uninstall_webui">Απεγκατάσταση WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">Φόρτωση...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">Ανανέωση</string>
|
||||
<string name="menu_select_all">Επίλεξε Όλα</string>
|
||||
<string name="menu_deselect_all">Αποεπίλεξε Όλα</string>
|
||||
<string name="menu_select_denylist">Επίλεξε από DenyList</string>
|
||||
<string name="menu_deselect_unnecessary">Αποεπίλεξε Άχρηστα</string>
|
||||
<string name="menu_add_system_app">Πρόσθεσε Εφαρμογή Συστήματος</string>
|
||||
<string name="menu_set_aosp_keybox">Όρισε AOSP Keybox</string>
|
||||
<string name="menu_set_unknown_keybox">Όρισε Unknown Keybox</string>
|
||||
<string name="menu_set_valid_keybox">Όρισε Valid Keybox</string>
|
||||
<string name="menu_set_custom_keybox">Όρισε Custom Keybox</string>
|
||||
<string name="menu_set_verified_boot_hash">Όρισε Verified Boot Hash</string>
|
||||
<string name="menu_set_security_patch">Όρισε Security Patch</string>
|
||||
<string name="menu_about">Σχετικά</string>
|
||||
<string name="menu_shortcut">Δημιουργία συντόμευσης στην αρχική οθόνη</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">Boot Hash</string>
|
||||
<string name="boot_hash_input_placeholder">Επικόλλησε εδώ το Verified Boot Hash σου</string>
|
||||
<string name="boot_hash_save_button">Αποθήκευση</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">Ενημέρωση Λίστας Στόχων</string>
|
||||
<string name="about_by">από</string>
|
||||
<string name="about_telegram_channel">Κανάλι Telegram</string>
|
||||
<string name="about_disclaimer">Αυτό το module δεν είναι μέρος του Tricky Store module. ΜΗΝ αναφέρετε προβλήματα στο Tricky Store αν προκύψουν.</string>
|
||||
<string name="about_acknowledgment">Ευχαριστίες</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">Έλεγξε τη σύνδεση Internet</string>
|
||||
<string name="prompt_aosp_key_set">Το AOSP keybox ορίστηκε με επιτυχία</string>
|
||||
<string name="prompt_key_set_error">Αποτυχία ενημέρωσης keybox</string>
|
||||
<string name="prompt_unknown_key_set">Το Unknown keybox ορίστηκε με επιτυχία</string>
|
||||
<string name="prompt_valid_key_set">Το Valid keybox ορίστηκε με επιτυχία</string>
|
||||
<string name="prompt_no_valid">Δεν βρέθηκε έγκυρο keybox.</string>
|
||||
<string name="prompt_boot_hash_set">Το Verified Boot Hash αποθηκεύτηκε με επιτυχία</string>
|
||||
<string name="prompt_boot_hash_set_error">Αποτυχία ενημέρωσης Verified Boot Hash</string>
|
||||
<string name="prompt_saved_target">Η ρύθμιση αποθηκεύτηκε στο target.txt</string>
|
||||
<string name="prompt_save_error">Αποτυχία αποθήκευσης ρύθμισης</string>
|
||||
<string name="prompt_uninstall_prompt">Το WebUI θα αφαιρεθεί μετά την επανεκκίνηση</string>
|
||||
<string name="prompt_uninstall_failed">Αποτυχία απεγκατάστασης WebUI</string>
|
||||
<string name="prompt_new_update">Υπάρχει νέα ενημέρωση!</string>
|
||||
<string name="prompt_downloading">Κατεβάζω νέα ενημέρωση...</string>
|
||||
<string name="prompt_downloaded">Η λήψη ολοκληρώθηκε</string>
|
||||
<string name="prompt_download_fail">Αποτυχία λήψης ενημέρωσης</string>
|
||||
<string name="prompt_installing">Εγκαθιστώ ενημέρωση...</string>
|
||||
<string name="prompt_installed">Εγκαταστάθηκε με επιτυχία, επανεκκίνηση τώρα.</string>
|
||||
<string name="prompt_install_fail">Αποτυχία εγκατάστασης, κάνε ενημέρωση χειροκίνητα</string>
|
||||
<string name="prompt_rebooting">Επανεκκίνηση...</string>
|
||||
<string name="prompt_reboot_fail">Αποτυχία επανεκκίνησης, κάνε επανεκκίνηση χειροκίνητα</string>
|
||||
<string name="prompt_custom_key_set">Το Custom keybox ορίστηκε με επιτυχία</string>
|
||||
<string name="prompt_custom_key_set_error">Αποτυχία ορισμού custom keybox</string>
|
||||
<string name="prompt_no_file_selected">Δεν επιλέχθηκε αρχείο</string>
|
||||
<string name="prompt_system_app_not_found">Η εφαρμογή συστήματος δεν βρέθηκε</string>
|
||||
<string name="prompt_system_app_error">Αποτυχία προσθήκης εφαρμογής συστήματος</string>
|
||||
<string name="prompt_shortcut_created">Η συντόμευση στην αρχική οθόνη δημιουργήθηκε</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">Security Patch</string>
|
||||
<string name="security_patch_advanced_mode">Προχωρημένο</string>
|
||||
<string name="security_patch_get_date">Πάρε Ημερομηνία Security Patch</string>
|
||||
<string name="security_patch_auto">Αυτόματο</string>
|
||||
<string name="security_patch_save">Αποθήκευση</string>
|
||||
<string name="security_patch_fetching">Φόρτωση...</string>
|
||||
<string name="security_patch_fetched">Ολοκληρώθηκε</string>
|
||||
<string name="security_patch_get_failed">Αποτυχία λήψης ημερομηνίας security patch</string>
|
||||
<string name="security_patch_auto_success">Η αυτόματη ρύθμιση ενεργοποιήθηκε με επιτυχία</string>
|
||||
<string name="security_patch_auto_failed">Αποτυχία ενεργοποίησης αυτόματης ρύθμισης</string>
|
||||
<string name="security_patch_save_success">Το security patch αποθηκεύτηκε με επιτυχία</string>
|
||||
<string name="security_patch_save_failed">Αποτυχία αποθήκευσης security patch</string>
|
||||
<string name="security_patch_value_empty">Η ρύθμιση security patch είναι απενεργοποιημένη</string>
|
||||
<string name="security_patch_invalid_all">Μη έγκυρη μορφή</string>
|
||||
<string name="security_patch_invalid_boot">Μη έγκυρη μορφή boot</string>
|
||||
<string name="security_patch_invalid_system">Μη έγκυρη μορφή system</string>
|
||||
<string name="security_patch_invalid_vendor">Μη έγκυρη μορφή vendor</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">Πρόσθεσε Εφαρμογή Συστήματος</string>
|
||||
<string name="add_system_app_add">Πρόσθεσε</string>
|
||||
<string name="add_system_app_current_list">Τρέχουσα Λίστα Εφαρμογών Συστήματος</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">Επιβεβαίωση Απεγκατάστασης;</string>
|
||||
<string name="confirmation_uninstall_message">Είσαι σίγουρος ότι θέλεις να απεγκαταστήσεις το Tricky Addon;</string>
|
||||
<string name="confirmation_uninstall_cancel">Άκυρο</string>
|
||||
<string name="confirmation_uninstall_confirm">Επιβεβαίωση</string>
|
||||
</resources>
|
||||
127
module/webui/locales/strings/en.xml
Normal file
127
module/webui/locales/strings/en.xml
Normal file
@@ -0,0 +1,127 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">System Default</string>
|
||||
<string name="more_language">More</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">Instructions</string>
|
||||
<string name="help_save_and_update">Save</string>
|
||||
<string name="help_save_and_update_description">Save current configure to target.txt.</string>
|
||||
<string name="help_refresh">Refresh</string>
|
||||
<string name="help_refresh_description">Refresh app list and exclude list.</string>
|
||||
<string name="help_select_deselect">Select & Deselect All</string>
|
||||
<string name="help_select_description">Select or deselect all apps in the current interface.</string>
|
||||
<string name="help_select_denylist">Select From DenyList</string>
|
||||
<string name="help_select_denylist_description">Available in Magisk only, select apps that are in the DenyList. Recommended.</string>
|
||||
<string name="help_deselect_unnecessary">Deselect Unnecessary</string>
|
||||
<string name="help_deselect_unnecessary_description">Unnecessary category: Xposed module, root manager, root-related apps, and general apps that never check bootloader status. This option requires Internet connection.</string>
|
||||
<string name="help_add_system_app">Add System App</string>
|
||||
<string name="help_add_system_app_description">Add specific system app to app list.</string>
|
||||
<string name="help_set_keybox">Set AOSP & Valid Keybox</string>
|
||||
<string name="help_set_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.</string>
|
||||
<string name="help_set_custom_keybox">Set Custom Keybox</string>
|
||||
<string name="help_set_custom_keybox_description">Import keybox from your device storage. Only support xml file.</string>
|
||||
<string name="help_set_security_patch">Set Security Patch</string>
|
||||
<string name="help_set_security_patch_description">Set custom security patch spoof. Auto config will use security patch from PIF module. Leave blank and save to disable auto config.</string>
|
||||
<string name="help_set_verified_boot_hash">Set Verified Boot Hash</string>
|
||||
<string name="help_set_verified_boot_hash_description">Get verifiedBootHash value from Key Attestation Demo. Fix abnormal boot state by resetting ro.boot.vbmeta.digest.</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">A new version is ready</string>
|
||||
<string name="update_redirect_to_release">tap to download the latest version</string>
|
||||
<string name="update_changelog">Changelog</string>
|
||||
<string name="update_install">Install</string>
|
||||
<string name="update_reboot">Reboot</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">Search</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">Save</string>
|
||||
<string name="functional_button_uninstall_webui">Uninstall WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">Loading...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">Refresh</string>
|
||||
<string name="menu_select_all">Select All</string>
|
||||
<string name="menu_deselect_all">Deselect All</string>
|
||||
<string name="menu_select_denylist">Select From DenyList</string>
|
||||
<string name="menu_deselect_unnecessary">Deselect Unnecessary</string>
|
||||
<string name="menu_add_system_app">Add System App</string>
|
||||
<string name="menu_set_aosp_keybox">Set AOSP Keybox</string>
|
||||
<string name="menu_set_unknown_keybox">Set Unknown Keybox</string>
|
||||
<string name="menu_set_valid_keybox">Set Valid Keybox</string>
|
||||
<string name="menu_set_custom_keybox">Set Custom Keybox</string>
|
||||
<string name="menu_set_verified_boot_hash">Set Verified Boot Hash</string>
|
||||
<string name="menu_set_security_patch">Set Security Patch</string>
|
||||
<string name="menu_about">About</string>
|
||||
<string name="menu_shortcut">Create home screen shortcut</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">Boot Hash</string>
|
||||
<string name="boot_hash_input_placeholder">Paste your verified Boot Hash here</string>
|
||||
<string name="boot_hash_save_button">Save</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">Update Target List</string>
|
||||
<string name="about_by">by</string>
|
||||
<string name="about_telegram_channel">Telegram Channel</string>
|
||||
<string name="about_canary_update">Update to latest canary version</string>
|
||||
<string name="about_disclaimer">This module is not a part of the Tricky Store module. DO NOT report any issues to Tricky Store if encountered.</string>
|
||||
<string name="about_acknowledgment">Acknowledgment</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">Please check your Internet connection</string>
|
||||
<string name="prompt_aosp_key_set">AOSP keybox set successfully</string>
|
||||
<string name="prompt_key_set_error">Failed to update keybox</string>
|
||||
<string name="prompt_unknown_key_set">Unknown keybox set successfully</string>
|
||||
<string name="prompt_valid_key_set">Valid keybox set successfully</string>
|
||||
<string name="prompt_no_valid">No valid keybox found.</string>
|
||||
<string name="prompt_boot_hash_set">Verified Boot Hash saved successfully</string>
|
||||
<string name="prompt_boot_hash_set_error">Failed to update Verified Boot Hash</string>
|
||||
<string name="prompt_saved_target">Config saved to target.txt</string>
|
||||
<string name="prompt_save_error">Failed to save config</string>
|
||||
<string name="prompt_uninstall_prompt">WebUI will be removed after reboot</string>
|
||||
<string name="prompt_uninstall_failed">Failed to uninstall WebUI</string>
|
||||
<string name="prompt_checking_update">Checking udpate...</string>
|
||||
<string name="prompt_new_update">A new update is available!</string>
|
||||
<string name="prompt_no_update">There are currently no updates available</string>
|
||||
<string name="prompt_downloading">Downloading new update...</string>
|
||||
<string name="prompt_downloaded">Download completed</string>
|
||||
<string name="prompt_download_fail">Fail to download update</string>
|
||||
<string name="prompt_installing">Installing update...</string>
|
||||
<string name="prompt_installed">Installed successfully, reboot now.</string>
|
||||
<string name="prompt_install_fail">Fail to install, please update manually</string>
|
||||
<string name="prompt_rebooting">Rebooting...</string>
|
||||
<string name="prompt_reboot_fail">Fail to reboot, please reboot manually</string>
|
||||
<string name="prompt_custom_key_set">Custom keybox set successfully</string>
|
||||
<string name="prompt_custom_key_set_error">Failed to set custom keybox</string>
|
||||
<string name="prompt_no_file_selected">No file selected</string>
|
||||
<string name="prompt_system_app_not_found">System app not found</string>
|
||||
<string name="prompt_system_app_error">Failed to add system app</string>
|
||||
<string name="prompt_shortcut_created">Home screen shortcut created</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">Security Patch</string>
|
||||
<string name="security_patch_advanced_mode">Advanced</string>
|
||||
<string name="security_patch_get_date">Get Security Patch Date</string>
|
||||
<string name="security_patch_auto">Auto</string>
|
||||
<string name="security_patch_save">Save</string>
|
||||
<string name="security_patch_fetching">Fetching...</string>
|
||||
<string name="security_patch_fetched">Done</string>
|
||||
<string name="security_patch_get_failed">Failed to fetch security patch date</string>
|
||||
<string name="security_patch_unable_to_connect">Unable to connect to source.android.com</string>
|
||||
<string name="security_patch_auto_success">Auto config enabled successfully</string>
|
||||
<string name="security_patch_auto_failed">Failed to enable auto config</string>
|
||||
<string name="security_patch_save_success">Security patch saved successfully</string>
|
||||
<string name="security_patch_save_failed">Failed to save security patch</string>
|
||||
<string name="security_patch_value_empty">Security patch configuration is disabled</string>
|
||||
<string name="security_patch_invalid_all">Invalid format</string>
|
||||
<string name="security_patch_invalid_boot">Invalid boot format</string>
|
||||
<string name="security_patch_invalid_system">Invalid system format</string>
|
||||
<string name="security_patch_invalid_vendor">Invalid vendor format</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">Add System App</string>
|
||||
<string name="add_system_app_add">Add</string>
|
||||
<string name="add_system_app_current_list">Current System App List</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">Confirm Uninstall?</string>
|
||||
<string name="confirmation_uninstall_message">Are you sure you want to uninstall Tricky Addon</string>
|
||||
<string name="confirmation_uninstall_cancel">Cancel</string>
|
||||
<string name="confirmation_uninstall_confirm">Confirm</string>
|
||||
</resources>
|
||||
122
module/webui/locales/strings/es-ES.xml
Normal file
122
module/webui/locales/strings/es-ES.xml
Normal file
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">Predeterminado del sistema</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">Instrucciones</string>
|
||||
<string name="help_save_and_update">Guardar</string>
|
||||
<string name="help_save_and_update_description">Guardar la configuración actual en target.txt.</string>
|
||||
<string name="help_refresh">Actualizar</string>
|
||||
<string name="help_refresh_description">Actualizar lista de aplicaciones y lista de exclusión.</string>
|
||||
<string name="help_select_deselect">Seleccionar y Deseleccionar Todo</string>
|
||||
<string name="help_select_description">Seleccionar o deseleccionar todas las aplicaciones en la interfaz actual.</string>
|
||||
<string name="help_select_denylist">Seleccionar desde DenyList</string>
|
||||
<string name="help_select_denylist_description">Disponible solo en Magisk, selecciona aplicaciones que están en la DenyList. Recomendado.</string>
|
||||
<string name="help_deselect_unnecessary">Deseleccionar innecesarios</string>
|
||||
<string name="help_deselect_unnecessary_description">Categorías innecesarias: módulos Xposed, gestores de root, aplicaciones relacionadas con root y aplicaciones generales que nunca verifican el estado del bootloader. Esta opción requiere conexión a Internet.</string>
|
||||
<string name="help_add_system_app">Agregar Aplicación del Sistema</string>
|
||||
<string name="help_add_system_app_description">Agregar una aplicación del sistema específica a la lista de aplicaciones.</string>
|
||||
<string name="help_set_keybox">Configurar AOSP y Keybox Válido</string>
|
||||
<string name="help_set_keybox_description">Reemplazar el archivo keybox.xml de Tricky Store. El AOSP Keybox será reemplazado si no hay un keybox válido. Esta opción requiere conexión a Internet.</string>
|
||||
<string name="help_set_custom_keybox">Establecer Keybox Personalizado</string>
|
||||
<string name="help_set_custom_keybox_description">Importar keybox desde el almacenamiento de tu dispositivo. Solo soporta archivos xml.</string>
|
||||
<string name="help_set_security_patch">Configurar Parche de Seguridad</string>
|
||||
<string name="help_set_security_patch_description">Configurar parche de seguridad personalizado. La configuración automática usará el parche de seguridad de PIF. Deja en blanco y guarda para deshabilitar la configuración automática.</string>
|
||||
<string name="help_set_verified_boot_hash">Configurar Boot Hash Verificado</string>
|
||||
<string name="help_set_verified_boot_hash_description">Obtén el valor de verifiedBootHash del Key Attestation Demo. Corrige un estado de arranque anormal reiniciando ro.boot.vbmeta.digest.</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">Una nueva versión está lista</string>
|
||||
<string name="update_redirect_to_release">toca para descargar la última versión</string>
|
||||
<string name="update_changelog">Registro de cambios</string>
|
||||
<string name="update_install">Instalar</string>
|
||||
<string name="update_reboot">Reiniciar</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">Buscar</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">Guardar</string>
|
||||
<string name="functional_button_uninstall_webui">Desinstalar WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">Cargando...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">Actualizar</string>
|
||||
<string name="menu_select_all">Seleccionar Todo</string>
|
||||
<string name="menu_deselect_all">Deseleccionar Todo</string>
|
||||
<string name="menu_select_denylist">Seleccionar desde DenyList</string>
|
||||
<string name="menu_deselect_unnecessary">Deseleccionar innecesarios</string>
|
||||
<string name="menu_add_system_app">Agregar Aplicación del Sistema</string>
|
||||
<string name="menu_set_aosp_keybox">Configurar AOSP Keybox</string>
|
||||
<string name="menu_set_unknown_keybox">Configurar Keybox Desconocido</string>
|
||||
<string name="menu_set_valid_keybox">Configurar Keybox Válido</string>
|
||||
<string name="menu_set_custom_keybox">Establecer Keybox Personalizado</string>
|
||||
<string name="menu_set_verified_boot_hash">Configurar Boot Hash Verificado</string>
|
||||
<string name="menu_set_security_patch">Configurar Parche de Seguridad</string>
|
||||
<string name="menu_about">Acerca de</string>
|
||||
<string name="menu_shortcut">Crear acceso directo en la pantalla de inicio</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">Boot Hash</string>
|
||||
<string name="boot_hash_input_placeholder">Pega aquí tu Boot Hash verificado</string>
|
||||
<string name="boot_hash_save_button">Guardar</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">Actualizar Lista de Objetivos</string>
|
||||
<string name="about_by">por</string>
|
||||
<string name="about_telegram_channel">Canal de Telegram</string>
|
||||
<string name="about_disclaimer">Este módulo no es parte del módulo Tricky Store. NO reportes problemas al autor de Tricky Store si los encuentras.</string>
|
||||
<string name="about_acknowledgment">Agradecimientos</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">Por favor, verifica tu conexión a Internet</string>
|
||||
<string name="prompt_aosp_key_set">AOSP Keybox configurado correctamente</string>
|
||||
<string name="prompt_key_set_error">Error al actualizar el Keybox</string>
|
||||
<string name="prompt_unknown_key_set">Keybox desconocido configurado correctamente</string>
|
||||
<string name="prompt_valid_key_set">Keybox válido configurado correctamente</string>
|
||||
<string name="prompt_no_valid">No se encontró un keybox válido.</string>
|
||||
<string name="prompt_boot_hash_set">Boot Hash verificado guardado correctamente</string>
|
||||
<string name="prompt_boot_hash_set_error">Error al actualizar el Boot Hash verificado</string>
|
||||
<string name="prompt_saved_target">Configuración guardada en target.txt</string>
|
||||
<string name="prompt_save_error">Error al guardar la configuración</string>
|
||||
<string name="prompt_uninstall_prompt">El WebUI se eliminará después de reiniciar</string>
|
||||
<string name="prompt_uninstall_failed">Error al desinstalar el WebUI</string>
|
||||
<string name="prompt_new_update">¡Una nueva actualización está disponible!</string>
|
||||
<string name="prompt_downloading">Descargando nueva actualización...</string>
|
||||
<string name="prompt_downloaded">Descarga completada</string>
|
||||
<string name="prompt_download_fail">Error al descargar la actualización</string>
|
||||
<string name="prompt_installing">Instalando actualización...</string>
|
||||
<string name="prompt_installed">Instalado con éxito, reinicia ahora.</string>
|
||||
<string name="prompt_install_fail">Error al instalar, actualiza manualmente</string>
|
||||
<string name="prompt_rebooting">Reiniciando...</string>
|
||||
<string name="prompt_reboot_fail">Error al reiniciar, reinicia manualmente</string>
|
||||
<string name="prompt_custom_key_set">Keybox personalizado establecido con éxito</string>
|
||||
<string name="prompt_custom_key_set_error">Error al establecer el keybox personalizado</string>
|
||||
<string name="prompt_no_file_selected">Ningún archivo seleccionado</string>
|
||||
<string name="prompt_system_app_not_found">Aplicación del sistema no encontrada</string>
|
||||
<string name="prompt_system_app_error">Error al agregar la aplicación del sistema</string>
|
||||
<string name="prompt_shortcut_created">Acceso directo creado en la pantalla de inicio</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">Parche de Seguridad</string>
|
||||
<string name="security_patch_advanced_mode">Avanzado</string>
|
||||
<string name="security_patch_get_date">Obtener Fecha del Parche de Seguridad</string>
|
||||
<string name="security_patch_auto">Automático</string>
|
||||
<string name="security_patch_save">Guardar</string>
|
||||
<string name="security_patch_fetching">Obteniendo...</string>
|
||||
<string name="security_patch_fetched">Completado</string>
|
||||
<string name="security_patch_get_failed">Error al obtener la fecha del parche de seguridad</string>
|
||||
<string name="security_patch_auto_success">Configuración automática habilitada con éxito</string>
|
||||
<string name="security_patch_auto_failed">Error al habilitar la configuración automática</string>
|
||||
<string name="security_patch_save_success">Parche de seguridad guardado con éxito</string>
|
||||
<string name="security_patch_save_failed">Error al guardar el parche de seguridad</string>
|
||||
<string name="security_patch_value_empty">La configuración del parche de seguridad está deshabilitada</string>
|
||||
<string name="security_patch_invalid_all">Formato inválido</string>
|
||||
<string name="security_patch_invalid_boot">Formato de boot inválido</string>
|
||||
<string name="security_patch_invalid_system">Formato de system inválido</string>
|
||||
<string name="security_patch_invalid_vendor">Formato de vendor inválido</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">Añadir aplicación del sistema</string>
|
||||
<string name="add_system_app_add">Añadir</string>
|
||||
<string name="add_system_app_current_list">Lista actual de aplicaciones del sistema</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">¿Confirmar desinstalación?</string>
|
||||
<string name="confirmation_uninstall_message">¿Está seguro de que desea desinstalar Tricky Addon</string>
|
||||
<string name="confirmation_uninstall_cancel">Cancelar</string>
|
||||
<string name="confirmation_uninstall_confirm">Confirmar</string>
|
||||
</resources>
|
||||
127
module/webui/locales/strings/fr.xml
Normal file
127
module/webui/locales/strings/fr.xml
Normal file
@@ -0,0 +1,127 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">Langage système</string>
|
||||
<string name="more_language">Plus</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">Instructions</string>
|
||||
<string name="help_save_and_update">Enregistrer</string>
|
||||
<string name="help_save_and_update_description">Enregistrer la configuration actuelle dans target.txt.</string>
|
||||
<string name="help_refresh">Actualiser</string>
|
||||
<string name="help_refresh_description">Actualiser la liste des applications et la liste d'exclusions.</string>
|
||||
<string name="help_select_deselect">Tout sélectionner & désélectionner</string>
|
||||
<string name="help_select_description">Sélectionner ou désélectionner toutes les applications de l'interface actuelle.</string>
|
||||
<string name="help_select_denylist">Sélectionner depuis la DenyList</string>
|
||||
<string name="help_select_denylist_description">Disponible uniquement sur Magisk, sélectionner les applications présentes dans la DenyList. Recommandé.</string>
|
||||
<string name="help_deselect_unnecessary">Désélectionner les applications inutiles</string>
|
||||
<string name="help_deselect_unnecessary_description">Catégorie inutile : module Xposed, gestionnaire root, applications liées au root et applications générales ne vérifiant jamais l'état du bootloader. Cette option nécessite une connexion Internet.</string>
|
||||
<string name="help_add_system_app">Ajouter une application système</string>
|
||||
<string name="help_add_system_app_description">Ajouter une application système spécifique à la liste.</string>
|
||||
<string name="help_set_keybox">Définir une Keybox AOSP & Valide</string>
|
||||
<string name="help_set_keybox_description">Remplacer le fichier keybox.xml de Tricky Store. La keybox AOSP sera remplacée s'il n'y a plus de keybox valide. L'option keybox valide nécessite une connexion Internet.</string>
|
||||
<string name="help_set_custom_keybox">Définir une Keybox personnalisée</string>
|
||||
<string name="help_set_custom_keybox_description">Importer une keybox depuis le stockage de votre appareil. Seuls les fichiers XML sont pris en charge.</string>
|
||||
<string name="help_set_security_patch">Définir le patch de sécurité</string>
|
||||
<string name="help_set_security_patch_description">Définir un patch de sécurité personnalisé. La configuration automatique utilisera le patch de sécurité du module PIF. Laisser vide et enregistrer pour désactiver la configuration automatique.</string>
|
||||
<string name="help_set_verified_boot_hash">Définir le hash Verified Boot</string>
|
||||
<string name="help_set_verified_boot_hash_description">Obtenir la valeur verifiedBootHash depuis Key Attestation Demo. Corriger un état de démarrage anormal en réinitialisant ro.boot.vbmeta.digest.</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">Une nouvelle version est disponible</string>
|
||||
<string name="update_redirect_to_release">appuyer pour télécharger la dernière version</string>
|
||||
<string name="update_changelog">Journal des modifications</string>
|
||||
<string name="update_install">Installer</string>
|
||||
<string name="update_reboot">Redémarrer</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">Rechercher</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">Enregistrer</string>
|
||||
<string name="functional_button_uninstall_webui">Désinstaller la WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">Chargement…</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">Actualiser</string>
|
||||
<string name="menu_select_all">Tout sélectionner</string>
|
||||
<string name="menu_deselect_all">Tout désélectionner</string>
|
||||
<string name="menu_select_denylist">Sélectionner depuis la DenyList</string>
|
||||
<string name="menu_deselect_unnecessary">Désélectionner les applications inutiles</string>
|
||||
<string name="menu_add_system_app">Ajouter une application système</string>
|
||||
<string name="menu_set_aosp_keybox">Définir une Keybox AOSP</string>
|
||||
<string name="menu_set_unknown_keybox">Définir une Keybox inconnue</string>
|
||||
<string name="menu_set_valid_keybox">Définir une Keybox valide</string>
|
||||
<string name="menu_set_custom_keybox">Définir une Keybox personnalisée</string>
|
||||
<string name="menu_set_verified_boot_hash">Définir le hash Verified Boot</string>
|
||||
<string name="menu_set_security_patch">Définir le patch de sécurité</string>
|
||||
<string name="menu_about">À propos</string>
|
||||
<string name="menu_shortcut">Créer un raccourci sur l'écran d'accueil</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">Hash de démarrage</string>
|
||||
<string name="boot_hash_input_placeholder">Collez votre hash Verified Boot ici</string>
|
||||
<string name="boot_hash_save_button">Enregistrer</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">Mettre à jour la liste cible</string>
|
||||
<string name="about_by">par</string>
|
||||
<string name="about_telegram_channel">Canal Telegram</string>
|
||||
<string name="about_canary_update">Mettre à jour vers la dernière version canary</string>
|
||||
<string name="about_disclaimer">Ce module ne fait pas partie du module Tricky Store. NE signalez PAS de problèmes à Tricky Store en cas d'erreur.</string>
|
||||
<string name="about_acknowledgment">Remerciements</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">Veuillez vérifier votre connexion Internet</string>
|
||||
<string name="prompt_aosp_key_set">Keybox AOSP définie avec succès</string>
|
||||
<string name="prompt_key_set_error">Échec de la mise à jour de la Keybox</string>
|
||||
<string name="prompt_unknown_key_set">Keybox inconnue définie avec succès</string>
|
||||
<string name="prompt_valid_key_set">Keybox valide définie avec succès</string>
|
||||
<string name="prompt_no_valid">Aucune Keybox valide trouvée.</string>
|
||||
<string name="prompt_boot_hash_set">Hash Verified Boot enregistré avec succès</string>
|
||||
<string name="prompt_boot_hash_set_error">Échec de la mise à jour du hash Verified Boot</string>
|
||||
<string name="prompt_saved_target">Configuration enregistrée dans target.txt</string>
|
||||
<string name="prompt_save_error">Échec de l'enregistrement de la configuration</string>
|
||||
<string name="prompt_uninstall_prompt">La WebUI sera supprimée après le redémarrage</string>
|
||||
<string name="prompt_uninstall_failed">Échec de la désinstallation de la WebUI</string>
|
||||
<string name="prompt_checking_update">Vérification de la mise à jour...</string>
|
||||
<string name="prompt_new_update">Une nouvelle mise à jour est disponible !</string>
|
||||
<string name="prompt_no_update">Il aucune mise à jour disponible pour le moment</string>
|
||||
<string name="prompt_downloading">Téléchargement de la mise à jour…</string>
|
||||
<string name="prompt_downloaded">Téléchargement terminé</string>
|
||||
<string name="prompt_download_fail">Échec du téléchargement de la mise à jour</string>
|
||||
<string name="prompt_installing">Installation de la mise à jour…</string>
|
||||
<string name="prompt_installed">Installation réussie, redémarrez maintenant.</string>
|
||||
<string name="prompt_install_fail">Échec de l'installation, veuillez mettre à jour manuellement</string>
|
||||
<string name="prompt_rebooting">Redémarrage…</string>
|
||||
<string name="prompt_reboot_fail">Échec du redémarrage, veuillez redémarrer manuellement</string>
|
||||
<string name="prompt_custom_key_set">Keybox personnalisée définie avec succès</string>
|
||||
<string name="prompt_custom_key_set_error">Échec de la définition de la Keybox personnalisée</string>
|
||||
<string name="prompt_no_file_selected">Aucun fichier sélectionné</string>
|
||||
<string name="prompt_system_app_not_found">Application système introuvable</string>
|
||||
<string name="prompt_system_app_error">Échec de l'ajout de l'application système</string>
|
||||
<string name="prompt_shortcut_created">Raccourci créé sur l'écran d'accueil</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">Patch de sécurité</string>
|
||||
<string name="security_patch_advanced_mode">Avancé</string>
|
||||
<string name="security_patch_get_date">Obtenir la date du patch de sécurité</string>
|
||||
<string name="security_patch_auto">Automatique</string>
|
||||
<string name="security_patch_save">Enregistrer</string>
|
||||
<string name="security_patch_fetching">Récupération…</string>
|
||||
<string name="security_patch_fetched">Terminé</string>
|
||||
<string name="security_patch_get_failed">Échec de la récupération de la date du patch de sécurité</string>
|
||||
<string name="security_patch_unable_to_connect">Impossible de se connecter à source.android.com</string>
|
||||
<string name="security_patch_auto_success">Configuration automatique activée avec succès</string>
|
||||
<string name="security_patch_auto_failed">Échec de l'activation de la configuration automatique</string>
|
||||
<string name="security_patch_save_success">Patch de sécurité enregistré avec succès</string>
|
||||
<string name="security_patch_save_failed">Échec de l'enregistrement du patch de sécurité</string>
|
||||
<string name="security_patch_value_empty">Configuration du patch de sécurité désactivée</string>
|
||||
<string name="security_patch_invalid_all">Format invalide</string>
|
||||
<string name="security_patch_invalid_boot">Format de démarrage invalide</string>
|
||||
<string name="security_patch_invalid_system">Format du système invalide</string>
|
||||
<string name="security_patch_invalid_vendor">Format du fournisseur invalide</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">Ajouter une application système</string>
|
||||
<string name="add_system_app_add">Ajouter</string>
|
||||
<string name="add_system_app_current_list">Liste des applications système actuelles</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">Confirmer la désinstallation ?</string>
|
||||
<string name="confirmation_uninstall_message">Êtes-vous sûr(e) de vouloir désinstaller Tricky Addon</string>
|
||||
<string name="confirmation_uninstall_cancel">Annuler</string>
|
||||
<string name="confirmation_uninstall_confirm">Confirmer</string>
|
||||
</resources>
|
||||
123
module/webui/locales/strings/id.xml
Normal file
123
module/webui/locales/strings/id.xml
Normal file
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">Default Sistem</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">Panduan</string>
|
||||
<string name="help_save_and_update">Simpan</string>
|
||||
<string name="help_save_and_update_description">Simpan konfigurasi saat ini ke target.txt.</string>
|
||||
<string name="help_refresh">Segarkan</string>
|
||||
<string name="help_refresh_description">Perbarui daftar aplikasi dan daftar pengecualian.</string>
|
||||
<string name="help_select_deselect">Pilih & Batalkan Pilihan Semua</string>
|
||||
<string name="help_select_description">Pilih atau batalkan pilihan semua aplikasi yang ditampilkan.</string>
|
||||
<string name="help_select_denylist">Pilih dari Denylist</string>
|
||||
<string name="help_select_denylist_description">Hanya untuk Magisk, pilih aplikasi yang ada di Denylist. Disarankan.</string>
|
||||
<string name="help_deselect_unnecessary">Batalkan Pilihan yang Tidak Perlu</string>
|
||||
<string name="help_deselect_unnecessary_description">Kategori tidak perlu: Modul Xposed, pengelola root, aplikasi terkait root, dan aplikasi yang tidak pernah memeriksa status bootloader. Opsi ini memerlukan koneksi internet.</string>
|
||||
<string name="help_add_system_app">Tambahkan Aplikasi Sistem</string>
|
||||
<string name="help_add_system_app_description">Tambahkan aplikasi sistem tertentu ke daftar aplikasi.</string>
|
||||
<string name="help_set_keybox">Ganti Keybox AOSP & Valid</string>
|
||||
<string name="help_set_keybox_description">Ganti file keybox.xml bawaan. Jika tidak ada keybox valid, maka keybox AOSP akan digunakan. Opsi ini memerlukan koneksi internet.</string>
|
||||
<string name="help_set_custom_keybox">Gunakan Keybox Kustom</string>
|
||||
<string name="help_set_custom_keybox_description">Impor keybox dari penyimpanan perangkat. Hanya mendukung file XML.</string>
|
||||
<string name="help_set_security_patch">Atur Patch Keamanan</string>
|
||||
<string name="help_set_security_patch_description">Sesuaikan patch keamanan. Konfigurasi otomatis akan menggunakan patch dari modul PIF. Kosongkan dan simpan untuk menonaktifkan konfigurasi otomatis.</string>
|
||||
<string name="help_set_verified_boot_hash">Atur Verified Boot Hash</string>
|
||||
<string name="help_set_verified_boot_hash_description">Ambil nilai verifiedBootHash dari aplikasi Key Attestation Demo. Perbaiki status boot yang bermasalah dengan mereset ro.boot.vbmeta.digest.</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">Versi baru tersedia!</string>
|
||||
<string name="update_redirect_to_release">Ketuk untuk mengunduh versi terbaru</string>
|
||||
<string name="update_changelog">Catatan Perubahan</string>
|
||||
<string name="update_install">Pasang</string>
|
||||
<string name="update_reboot">Mulai Ulang</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">Cari</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">Simpan</string>
|
||||
<string name="functional_button_uninstall_webui">Copot Pemasangan WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">Memuat...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">Segarkan</string>
|
||||
<string name="menu_select_all">Pilih Semua</string>
|
||||
<string name="menu_deselect_all">Batalkan Semua Pilihan</string>
|
||||
<string name="menu_select_denylist">Pilih dari Denylist</string>
|
||||
<string name="menu_deselect_unnecessary">Batalkan Pilihan yang Tidak Perlu</string>
|
||||
<string name="menu_add_system_app">Tambahkan Aplikasi Sistem</string>
|
||||
<string name="menu_set_aosp_keybox">Gunakan Keybox AOSP</string>
|
||||
<string name="menu_set_unknown_keybox">Gunakan Keybox Tidak Dikenal</string>
|
||||
<string name="menu_set_valid_keybox">Gunakan Keybox Valid</string>
|
||||
<string name="menu_set_custom_keybox">Gunakan Keybox Kustom</string>
|
||||
<string name="menu_set_verified_boot_hash">Atur Verified Boot Hash</string>
|
||||
<string name="menu_set_security_patch">Atur Patch Keamanan</string>
|
||||
<string name="menu_about">Tentang</string>
|
||||
<string name="menu_shortcut">Buat pintasan di layar utama</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">Verified Boot Hash</string>
|
||||
<string name="boot_hash_input_placeholder">Tempel Verified Boot Hash Anda di sini</string>
|
||||
<string name="boot_hash_save_button">Simpan</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">Perbarui Daftar Target</string>
|
||||
<string name="about_by">oleh</string>
|
||||
<string name="about_telegram_channel">Saluran Telegram</string>
|
||||
<string name="about_disclaimer">Modul ini bukan bagian dari Tricky Store. Jangan laporkan masalah ke Tricky Store jika mengalami kendala.</string>
|
||||
<string name="about_acknowledgment">Pengakuan</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">Periksa koneksi internet Anda</string>
|
||||
<string name="prompt_aosp_key_set">Keybox AOSP berhasil digunakan</string>
|
||||
<string name="prompt_key_set_error">Gagal memperbarui keybox</string>
|
||||
<string name="prompt_unknown_key_set">Keybox tidak dikenal berhasil digunakan</string>
|
||||
<string name="prompt_valid_key_set">Keybox valid berhasil digunakan</string>
|
||||
<string name="prompt_no_valid">Tidak ada keybox valid.</string>
|
||||
<string name="prompt_boot_hash_set">Verified Boot Hash berhasil disimpan</string>
|
||||
<string name="prompt_boot_hash_set_error">Gagal memperbarui Verified Boot Hash</string>
|
||||
<string name="prompt_saved_target">Konfigurasi disimpan ke target.txt</string>
|
||||
<string name="prompt_save_error">Gagal menyimpan konfigurasi</string>
|
||||
<string name="prompt_uninstall_prompt">WebUI akan dicopot setelah perangkat dimulai ulang</string>
|
||||
<string name="prompt_uninstall_failed">Gagal mencopot pemasangan WebUI</string>
|
||||
<string name="prompt_new_update">Pembaruan baru tersedia!</string>
|
||||
<string name="prompt_downloading">Mengunduh pembaruan...</string>
|
||||
<string name="prompt_downloaded">Unduhan selesai</string>
|
||||
<string name="prompt_download_fail">Gagal mengunduh pembaruan</string>
|
||||
<string name="prompt_installing">Memasang pembaruan...</string>
|
||||
<string name="prompt_installed">Pembaruan berhasil dipasang, mulai ulang sekarang.</string>
|
||||
<string name="prompt_install_fail">Gagal memasang, silakan perbarui secara manual</string>
|
||||
<string name="prompt_rebooting">Memulai ulang...</string>
|
||||
<string name="prompt_reboot_fail">Gagal memulai ulang, silakan lakukan secara manual</string>
|
||||
<string name="prompt_custom_key_set">Keybox kustom berhasil digunakan</string>
|
||||
<string name="prompt_custom_key_set_error">Gagal menggunakan keybox kustom</string>
|
||||
<string name="prompt_no_file_selected">Tidak ada file yang dipilih</string>
|
||||
<string name="prompt_system_app_not_found">Aplikasi sistem tidak ditemukan</string>
|
||||
<string name="prompt_system_app_error">Gagal menambahkan aplikasi sistem</string>
|
||||
<string name="prompt_shortcut_created">Pintasan layar utama telah dibuat</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">Patch Keamanan</string>
|
||||
<string name="security_patch_advanced_mode">Mode Lanjutan</string>
|
||||
<string name="security_patch_get_date">Ambil Tanggal Patch Keamanan</string>
|
||||
<string name="security_patch_auto">Otomatis</string>
|
||||
<string name="security_patch_save">Simpan</string>
|
||||
<string name="security_patch_fetching">Mengambil...</string>
|
||||
<string name="security_patch_fetched">Selesai</string>
|
||||
<string name="security_patch_get_failed">Gagal mengambil tanggal patch keamanan</string>
|
||||
<string name="security_patch_unable_to_connect">Tidak dapat terhubung ke source.android.com</string>
|
||||
<string name="security_patch_auto_success">Konfigurasi otomatis berhasil diaktifkan</string>
|
||||
<string name="security_patch_auto_failed">Gagal mengaktifkan konfigurasi otomatis</string>
|
||||
<string name="security_patch_save_success">Patch keamanan berhasil disimpan</string>
|
||||
<string name="security_patch_save_failed">Gagal menyimpan patch keamanan</string>
|
||||
<string name="security_patch_value_empty">Konfigurasi patch keamanan dinonaktifkan</string>
|
||||
<string name="security_patch_invalid_all">Format tidak valid</string>
|
||||
<string name="security_patch_invalid_boot">Format boot tidak valid</string>
|
||||
<string name="security_patch_invalid_system">Format sistem tidak valid</string>
|
||||
<string name="security_patch_invalid_vendor">Format vendor tidak valid</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">Tambah Aplikasi Sistem</string>
|
||||
<string name="add_system_app_add">Tambah</string>
|
||||
<string name="add_system_app_current_list">Daftar Aplikasi Sistem Saat Ini</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">Konfirmasi Hapus?</string>
|
||||
<string name="confirmation_uninstall_message">Apakah Anda yakin ingin menghapus Tricky Addon</string>
|
||||
<string name="confirmation_uninstall_cancel">Batal</string>
|
||||
<string name="confirmation_uninstall_confirm">Konfirmasi</string>
|
||||
</resources>
|
||||
122
module/webui/locales/strings/it.xml
Normal file
122
module/webui/locales/strings/it.xml
Normal file
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">Predefinito di sistema</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">Istruzioni</string>
|
||||
<string name="help_save_and_update">Salva</string>
|
||||
<string name="help_save_and_update_description">Salva la configurazione corrente in target.txt.</string>
|
||||
<string name="help_refresh">Aggiorna</string>
|
||||
<string name="help_refresh_description">Aggiorna l'elenco delle app e l'elenco delle esclusioni.</string>
|
||||
<string name="help_select_deselect">Seleziona & Deseleziona Tutto</string>
|
||||
<string name="help_select_description">Seleziona o deseleziona tutte le app nell'interfaccia corrente.</string>
|
||||
<string name="help_select_denylist">Seleziona da DenyList</string>
|
||||
<string name="help_select_denylist_description">Disponibile solo in Magisk, seleziona le app presenti nella DenyList. Consigliato.</string>
|
||||
<string name="help_deselect_unnecessary">Deseleziona Non necessari</string>
|
||||
<string name="help_deselect_unnecessary_description">Categoria non necessaria: modulo Xposed, root manager, app correlate al root e app generali che non controllano mai lo stato del bootloader. Questa opzione richiede una connessione a Internet.</string>
|
||||
<string name="help_add_system_app">Aggiungi App di Sistema</string>
|
||||
<string name="help_add_system_app_description">Aggiungi app di sistema specifiche all'elenco delle app.</string>
|
||||
<string name="help_set_keybox">Imposta AOSP & Keybox Valida</string>
|
||||
<string name="help_set_keybox_description">Sostituisci tricky store keybox.xml. La keybox AOSP verrà sostituita se non ci sono più keybox valide. L'opzione valida per la keybox richiede una connessione Internet.</string>
|
||||
<string name="help_set_custom_keybox">Imposta Keybox Personalizzata</string>
|
||||
<string name="help_set_custom_keybox_description">Importa keybox dalla memoria del tuo dispositivo. Supporta solo file xml.</string>
|
||||
<string name="help_set_security_patch">Imposta Patch di Sicurezza</string>
|
||||
<string name="help_set_security_patch_description">Imposta spoofing patch di sicurezza personalizzato. La configurazione automatica utilizzerà la patch di sicurezza dal modulo PIF. Lascia vuoto e salva per disabilitare la configurazione automatica.</string>
|
||||
<string name="help_set_verified_boot_hash">Imposta Boot Hash Verificato</string>
|
||||
<string name="help_set_verified_boot_hash_description">Ottieni il valore verifiedBootHash da Key Attestation Demo. Correggi lo stato di avvio anomalo reimpostando ro.boot.vbmeta.digest.</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">È pronta una nuova versione</string>
|
||||
<string name="update_redirect_to_release">tocca per scaricare l'ultima versione</string>
|
||||
<string name="update_changelog">Changelog</string>
|
||||
<string name="update_install">Installa</string>
|
||||
<string name="update_reboot">Riavvio</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">Ricerca</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">Salva</string>
|
||||
<string name="functional_button_uninstall_webui">Disinstalla WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">Caricamento...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">Aggiorna</string>
|
||||
<string name="menu_select_all">Seleziona Tutto</string>
|
||||
<string name="menu_deselect_all">Deseleziona tutto</string>
|
||||
<string name="menu_select_denylist">Seleziona da DenyList</string>
|
||||
<string name="menu_deselect_unnecessary">Deseleziona Non necessari</string>
|
||||
<string name="menu_add_system_app">Aggiungi App di Sistema</string>
|
||||
<string name="menu_set_aosp_keybox">Imposta Keybox AOSP</string>
|
||||
<string name="menu_set_unknown_keybox">Imposta Keybox Sconosciuta</string>
|
||||
<string name="menu_set_valid_keybox">Imposta Keybox Valida</string>
|
||||
<string name="menu_set_custom_keybox">Imposta Keybox Personalizzata</string>
|
||||
<string name="menu_set_verified_boot_hash">Imposta Boot Hash Verificato</string>
|
||||
<string name="menu_set_security_patch">Imposta Patch di Sicurezza</string>
|
||||
<string name="menu_about">About</string>
|
||||
<string name="menu_shortcut">Crea collegamento nella schermata iniziale</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">Boot Hash</string>
|
||||
<string name="boot_hash_input_placeholder">Incolla qui il tuo Boot Hash verificato</string>
|
||||
<string name="boot_hash_save_button">Salva</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">Aggiorna Target List</string>
|
||||
<string name="about_by">by</string>
|
||||
<string name="about_telegram_channel">Canale Telegram</string>
|
||||
<string name="about_disclaimer">Questo modulo non fa parte del modulo Tricky Store. NON segnalare eventuali problemi a Tricky Store se riscontrati.</string>
|
||||
<string name="about_acknowledgment">Riconoscimento</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">Controlla la tua connessione Internet</string>
|
||||
<string name="prompt_aosp_key_set">Keybox AOSP impostata correttamente</string>
|
||||
<string name="prompt_key_set_error">Impossibile aggiornare keybox</string>
|
||||
<string name="prompt_unknown_key_set">Keybox sconosciuta impostata correttamente</string>
|
||||
<string name="prompt_valid_key_set">Keybox valida impostata correttamente</string>
|
||||
<string name="prompt_no_valid">Nessuna keybox valida trovata.</string>
|
||||
<string name="prompt_boot_hash_set">Boot Hash Verificato salvato correttamente</string>
|
||||
<string name="prompt_boot_hash_set_error">Impossibile aggiornare Boot Hash Verificato</string>
|
||||
<string name="prompt_saved_target">Configurazione salvata in target.txt</string>
|
||||
<string name="prompt_save_error">Impossibile salvare la configurazione</string>
|
||||
<string name="prompt_uninstall_prompt">WebUI verrà rimosso dopo il riavvio</string>
|
||||
<string name="prompt_uninstall_failed">Impossibile disinstallare WebUI</string>
|
||||
<string name="prompt_new_update">È disponibile un nuovo aggiornamento!</string>
|
||||
<string name="prompt_downloading">Download nuovo aggiornamento...</string>
|
||||
<string name="prompt_downloaded">Download completato</string>
|
||||
<string name="prompt_download_fail">Impossibile scaricare l'aggiornamento</string>
|
||||
<string name="prompt_installing">Installazione aggiornamento...</string>
|
||||
<string name="prompt_installed">Installato correttamente, riavvia ora.</string>
|
||||
<string name="prompt_install_fail">Installazione non riuscita, aggiorna manualmente</string>
|
||||
<string name="prompt_rebooting">Riavvio...</string>
|
||||
<string name="prompt_reboot_fail">Impossibile riavviare, riavvia manualmente</string>
|
||||
<string name="prompt_custom_key_set">Keybox personalizzata impostata correttamente</string>
|
||||
<string name="prompt_custom_key_set_error">Impossibile impostare keybox personalizzata</string>
|
||||
<string name="prompt_no_file_selected">Nessun file selezionato</string>
|
||||
<string name="prompt_system_app_not_found">App di sistema non trovata</string>
|
||||
<string name="prompt_system_app_error">Impossibile aggiungere l'app di sistema</string>
|
||||
<string name="prompt_shortcut_created">Collegamento creato nella schermata iniziale</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">Patch di sicurezza</string>
|
||||
<string name="security_patch_advanced_mode">Avanzato</string>
|
||||
<string name="security_patch_get_date">Ottieni data patch di sicurezza</string>
|
||||
<string name="security_patch_auto">Auto</string>
|
||||
<string name="security_patch_save">Salva</string>
|
||||
<string name="security_patch_fetching">Recupero...</string>
|
||||
<string name="security_patch_fetched">Fatto</string>
|
||||
<string name="security_patch_get_failed">Impossibile recuperare la data della patch di sicurezza</string>
|
||||
<string name="security_patch_auto_success">Configurazione automatica abilitata correttamente</string>
|
||||
<string name="security_patch_auto_failed">Impossibile abilitare la configurazione automatica</string>
|
||||
<string name="security_patch_save_success">Patch di sicurezza salvata correttamente</string>
|
||||
<string name="security_patch_save_failed">Impossibile salvare la patch di sicurezza</string>
|
||||
<string name="security_patch_value_empty">La configurazione della patch di sicurezza è disabilitata</string>
|
||||
<string name="security_patch_invalid_all">Formato non valido</string>
|
||||
<string name="security_patch_invalid_boot">Formato boot non valido</string>
|
||||
<string name="security_patch_invalid_system">Formato system non valido</string>
|
||||
<string name="security_patch_invalid_vendor">Formato vendor non valido</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">Aggiungi app di sistema</string>
|
||||
<string name="add_system_app_add">Aggiungi</string>
|
||||
<string name="add_system_app_current_list">Elenco attuale delle app di sistema</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">Confermi disinstallazione?</string>
|
||||
<string name="confirmation_uninstall_message">Sei sicuro di voler disinstallare Tricky Addon</string>
|
||||
<string name="confirmation_uninstall_cancel">Annulla</string>
|
||||
<string name="confirmation_uninstall_confirm">Conferma</string>
|
||||
</resources>
|
||||
123
module/webui/locales/strings/ja.xml
Normal file
123
module/webui/locales/strings/ja.xml
Normal file
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">システムのデフォルト</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">使い方</string>
|
||||
<string name="help_save_and_update">保存</string>
|
||||
<string name="help_save_and_update_description">現在の設定を target.txt に保存します。</string>
|
||||
<string name="help_refresh">更新</string>
|
||||
<string name="help_refresh_description">アプリリストと除外リストを更新します。</string>
|
||||
<string name="help_select_deselect">すべてを選択と解除</string>
|
||||
<string name="help_select_description">現在のインターフェースのすべてのアプリを選択または解除します。</string>
|
||||
<string name="help_select_denylist">DenyList から選択</string>
|
||||
<string name="help_select_denylist_description">Magisk の環境でのみ使用可能です。DenyList 内のアプリを選択します(推奨)。</string>
|
||||
<string name="help_deselect_unnecessary">不要な選択を解除</string>
|
||||
<string name="help_deselect_unnecessary_description">不要なカテゴリー: Xposed モジュール、root マネージャー、root 関連アプリ、Bootloader の状態を確認しない一般的なアプリです。このオプションはインターネット接続が必要です。</string>
|
||||
<string name="help_add_system_app">システムアプリを追加</string>
|
||||
<string name="help_add_system_app_description">特定のシステムアプリをアプリリストに追加します。</string>
|
||||
<string name="help_set_keybox">AOSP と有効な Keybox</string>
|
||||
<string name="help_set_keybox_description">Tricky Store の keybox.xml を置き換えます。有効な Keybox がなくなった場合は、AOSP Keybox に置き換えられます。インターネット接続が必要です。</string>
|
||||
<string name="help_set_custom_keybox">カスタム Keybox を設定</string>
|
||||
<string name="help_set_custom_keybox_description">デバイスのストレージからカスタム Keybox ファイルをインポートします。インポートは xml ファイルのみ対応しています。</string>
|
||||
<string name="help_set_security_patch">セキュリティパッチを設定</string>
|
||||
<string name="help_set_security_patch_description">カスタムセキュリティパッチの設定です。自動設定は PIF モジュールのセキュリティパッチを使用します。空白のまま保存すると自動設定を無効にします。</string>
|
||||
<string name="help_set_verified_boot_hash">確認付きブートハッシュを設定</string>
|
||||
<string name="help_set_verified_boot_hash_description">Key Attestation Demo から確認付きブートハッシュの値を取得します。ro.boot.vbmeta.digest をリセットして異常なブート状態を修正します。</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">新しいバージョンの準備完了</string>
|
||||
<string name="update_redirect_to_release">タップで最新のバージョンをダウンロード</string>
|
||||
<string name="update_changelog">変更履歴</string>
|
||||
<string name="update_install">インストール</string>
|
||||
<string name="update_reboot">再起動</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">検索</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">保存</string>
|
||||
<string name="functional_button_uninstall_webui">WebUI をアンインストール</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">読み込み中...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">更新</string>
|
||||
<string name="menu_select_all">すべて選択</string>
|
||||
<string name="menu_deselect_all">すべての選択を解除</string>
|
||||
<string name="menu_select_denylist">DenyList から選択</string>
|
||||
<string name="menu_deselect_unnecessary">不要な選択を解除</string>
|
||||
<string name="menu_add_system_app">システムアプリを追加</string>
|
||||
<string name="menu_set_aosp_keybox">AOSP Keybox を設定</string>
|
||||
<string name="menu_set_unknown_keybox">不明な Keybox を設定</string>
|
||||
<string name="menu_set_valid_keybox">有効な Keybox を設定</string>
|
||||
<string name="menu_set_custom_keybox">カスタム Keybox を設定</string>
|
||||
<string name="menu_set_verified_boot_hash">確認付きブートハッシュを設定</string>
|
||||
<string name="menu_set_security_patch">セキュリティパッチを設定</string>
|
||||
<string name="menu_about">このアドオンについて</string>
|
||||
<string name="menu_shortcut">ホーム画面にショートカットを作成</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">ブートハッシュ</string>
|
||||
<string name="boot_hash_input_placeholder">確認付きブートハッシュをここに貼り付け</string>
|
||||
<string name="boot_hash_save_button">保存</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">ターゲットリストを更新</string>
|
||||
<string name="about_by">開発者: </string>
|
||||
<string name="about_telegram_channel">Telegram チャンネル</string>
|
||||
<string name="about_disclaimer">このモジュールは、Tricky Store モジュールの一部ではありません。Tricky Store 公式に問題を報告しないでください。</string>
|
||||
<string name="about_acknowledgment">謝辞</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">インターネット接続を確認してください。</string>
|
||||
<string name="prompt_aosp_key_set">AOSP Keybox の設定に成功しました。</string>
|
||||
<string name="prompt_key_set_error">Keybox の更新に失敗しました。</string>
|
||||
<string name="prompt_unknown_key_set">不明な Keybox の設定に成功しました。</string>
|
||||
<string name="prompt_valid_key_set">有効な Keybox の設定に成功しました。</string>
|
||||
<string name="prompt_no_valid">有効な Keybox がありません。</string>
|
||||
<string name="prompt_boot_hash_set">確認付きブートハッシュの更新に成功しました。</string>
|
||||
<string name="prompt_boot_hash_set_error">確認付きブートハッシュの更新に失敗しました。</string>
|
||||
<string name="prompt_saved_target">設定を target.txt に保存しました。</string>
|
||||
<string name="prompt_save_error">設定の保存に失敗しました。</string>
|
||||
<string name="prompt_uninstall_prompt">WebUI は再起動後に削除されます。</string>
|
||||
<string name="prompt_uninstall_failed">WebUI のアンインストールに失敗しました。</string>
|
||||
<string name="prompt_new_update">新しいバージョンがあります!</string>
|
||||
<string name="prompt_downloading">新しい更新をダウンロード中...</string>
|
||||
<string name="prompt_downloaded">ダウンロードが完了しました</string>
|
||||
<string name="prompt_download_fail">更新のダウンロードに失敗しました</string>
|
||||
<string name="prompt_installing">更新をインストール中...</string>
|
||||
<string name="prompt_installed">正常にインストールされました。再起動してください。</string>
|
||||
<string name="prompt_install_fail">インストールに失敗しました。手動で更新してください。</string>
|
||||
<string name="prompt_rebooting">再起動中...</string>
|
||||
<string name="prompt_reboot_fail">再起動に失敗しました。手動で再起動してください。</string>
|
||||
<string name="prompt_custom_key_set">カスタム Keybox の設定に成功しました</string>
|
||||
<string name="prompt_custom_key_set_error">カスタム Keybox の設定に失敗しました</string>
|
||||
<string name="prompt_no_file_selected">ファイルが選択されていません</string>
|
||||
<string name="prompt_system_app_not_found">システムアプリが見つかりません</string>
|
||||
<string name="prompt_system_app_error">システムアプリの追加に失敗しました</string>
|
||||
<string name="prompt_shortcut_created">ホーム画面にショートカットが作成されました</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">セキュリティパッチ</string>
|
||||
<string name="security_patch_advanced_mode">高度</string>
|
||||
<string name="security_patch_get_date">セキュリティパッチの日付を取得</string>
|
||||
<string name="security_patch_auto">自動</string>
|
||||
<string name="security_patch_save">保存</string>
|
||||
<string name="security_patch_fetching">取得中...</string>
|
||||
<string name="security_patch_fetched">完了</string>
|
||||
<string name="security_patch_get_failed">セキュリティパッチの日付を取得できませんでした</string>
|
||||
<string name="security_patch_unable_to_connect">source.android.com に接続できません</string>
|
||||
<string name="security_patch_auto_success">自動設定が有効化されました</string>
|
||||
<string name="security_patch_auto_failed">自動設定が有効化できませんでした</string>
|
||||
<string name="security_patch_save_success">セキュリティパッチが正常に保存されました</string>
|
||||
<string name="security_patch_save_failed">セキュリティパッチの保存に失敗しました</string>
|
||||
<string name="security_patch_value_empty">セキュリティパッチの設定は無効です</string>
|
||||
<string name="security_patch_invalid_all">無効な形式です</string>
|
||||
<string name="security_patch_invalid_boot">無効な boot 形式です</string>
|
||||
<string name="security_patch_invalid_system">無効な system 形式です</string>
|
||||
<string name="security_patch_invalid_vendor">無効な vendor 形式です</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">システムアプリを追加</string>
|
||||
<string name="add_system_app_add">追加</string>
|
||||
<string name="add_system_app_current_list">現在のシステムアプリリスト</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">アンインストールしますか?</string>
|
||||
<string name="confirmation_uninstall_message">Tricky Addon をアンインストールしてもよろしいですか</string>
|
||||
<string name="confirmation_uninstall_cancel">キャンセル</string>
|
||||
<string name="confirmation_uninstall_confirm">確認</string>
|
||||
</resources>
|
||||
127
module/webui/locales/strings/pl.xml
Normal file
127
module/webui/locales/strings/pl.xml
Normal file
@@ -0,0 +1,127 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">Domyślne ustawienia systemu</string>
|
||||
<string name="more_language">Więcej języków</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">Instrukcje</string>
|
||||
<string name="help_save_and_update">Zapisz</string>
|
||||
<string name="help_save_and_update_description">Zapisywanie obecnej konfiguracji do pliku target.txt.</string>
|
||||
<string name="help_refresh">Odśwież</string>
|
||||
<string name="help_refresh_description">Odśwież listę aplikacji i wykluczeń.</string>
|
||||
<string name="help_select_deselect">Zaznacz i odznacz wszystko</string>
|
||||
<string name="help_select_description">Zaznacz lub odznacz wszystkie aplikacje w bieżącym interfejsie.</string>
|
||||
<string name="help_select_denylist">Wybierz z listy odrzuconych</string>
|
||||
<string name="help_select_denylist_description">Dostępne tylko w Magisk, wybrane aplikacje, które są na liście odrzuconych. Zalecane.</string>
|
||||
<string name="help_deselect_unnecessary">Odznacz niepotrzebne</string>
|
||||
<string name="help_deselect_unnecessary_description">Kategoria niepotrzebne: moduł Xposed, menedżer root, aplikacje związane z rootem i ogólne aplikacje, które nigdy nie sprawdzają stanu bootloadera. Ta opcja wymaga połączenia internetowego.</string>
|
||||
<string name="help_add_system_app">Dodaj aplikację systemową</string>
|
||||
<string name="help_add_system_app_description">Dodaj konkretną aplikację systemową do listy aplikacji.</string>
|
||||
<string name="help_set_keybox">Ustaw działający klucz AOSP</string>
|
||||
<string name="help_set_keybox_description">Zastąp klucz keybox.xml. Klucz AOSP zostanie zastosowany, jeśli nie będzie więcej działających kluczy. Funkcja wymaga połączenia internetowego.</string>
|
||||
<string name="help_set_custom_keybox">Ustaw niestandardowy klucz</string>
|
||||
<string name="help_set_custom_keybox_description">Importuj klucz z pamięci urządzenia. Obsługuje tylko pliki xml.</string>
|
||||
<string name="help_set_security_patch">Ustaw poprawkę zabezpieczeń</string>
|
||||
<string name="help_set_security_patch_description">Ustaw niestandardową poprawkę zabezpieczeń. Automatyczna konfiguracja użyje poprawki bezpieczeństwa z modułu PIF. Pozostaw puste i zapisz, aby wyłączyć automatyczną konfigurację.</string>
|
||||
<string name="help_set_verified_boot_hash">Ustaw zweryfikowany skrót rozruchowy</string>
|
||||
<string name="help_set_verified_boot_hash_description">Pobierz zweryfikowaną wartość skrótu rozruchowego z Key Attestation. Napraw nieprawidłowy stan rozruchu, resetując ro.boot.vbmeta.digest.</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">Nowa wersja jest dostępna!</string>
|
||||
<string name="update_redirect_to_release">dotknij, aby pobrać najnowszą wersję</string>
|
||||
<string name="update_changelog">Historia zmian</string>
|
||||
<string name="update_install">Zainstaluj</string>
|
||||
<string name="update_reboot">Uruchom ponownie</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">Szukaj</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">Zapisz</string>
|
||||
<string name="functional_button_uninstall_webui">Odinstaluj WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">Ładowanie...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">Odśwież</string>
|
||||
<string name="menu_select_all">Zaznacz wszystko</string>
|
||||
<string name="menu_deselect_all">Odznacz wszystko</string>
|
||||
<string name="menu_select_denylist">Wybierz z listy odrzuconych</string>
|
||||
<string name="menu_deselect_unnecessary">Odznacz niepotrzebne</string>
|
||||
<string name="menu_add_system_app">Dodaj aplikację systemową</string>
|
||||
<string name="menu_set_aosp_keybox">Ustaw klucz AOSP</string>
|
||||
<string name="menu_set_unknown_keybox">Ustaw nieznany klucz</string>
|
||||
<string name="menu_set_valid_keybox">Ustaw działający klucz</string>
|
||||
<string name="menu_set_custom_keybox">Ustaw niestandardowy klucz</string>
|
||||
<string name="menu_set_verified_boot_hash">Ustaw zweryfikowany skrót rozruchowy</string>
|
||||
<string name="menu_set_security_patch">Ustaw poprawkę zabezpieczeń</string>
|
||||
<string name="menu_about">O Tricky Addon</string>
|
||||
<string name="menu_shortcut">Utwórz skrót do ekranu głównego</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">Skrót rozruchowy</string>
|
||||
<string name="boot_hash_input_placeholder">Wklej tutaj zweryfikowany skrót rozruchowy</string>
|
||||
<string name="boot_hash_save_button">Zapisz</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">Uaktualnij listę celów</string>
|
||||
<string name="about_by">wydany przez:</string>
|
||||
<string name="about_telegram_channel">Kanał na Telegramie</string>
|
||||
<string name="about_canary_update">Aktualizacja do najnowszej wersji Canary</string>
|
||||
<string name="about_disclaimer">Ten moduł nie jest częścią modułu Tricky Store. Nie zgłaszaj żadnych problemów do Tricky Store, jeśli je napotkasz.</string>
|
||||
<string name="about_acknowledgment">Podziękowania dla:</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">Sprawdź swoje połączenie internetowe</string>
|
||||
<string name="prompt_aosp_key_set">Klucz AOSP ustawiony pomyślnie</string>
|
||||
<string name="prompt_key_set_error">Nie udało się zaktualizować klucza</string>
|
||||
<string name="prompt_unknown_key_set">Nieznany klucz ustawiony pomyślnie</string>
|
||||
<string name="prompt_valid_key_set">Działający klucz ustawiony pomyślnie</string>
|
||||
<string name="prompt_no_valid">Nie znaleziono działającego klucza</string>
|
||||
<string name="prompt_boot_hash_set">Zweryfikowany skrót rozruchowy zapisany pomyślnie</string>
|
||||
<string name="prompt_boot_hash_set_error">Nie udało się zaktualizować zweryfikowanego skrótu rozruchowego</string>
|
||||
<string name="prompt_saved_target">Konfiguracja zapisana do pliku target.txt</string>
|
||||
<string name="prompt_save_error">Nie udało się zapisać konfiguracji</string>
|
||||
<string name="prompt_uninstall_prompt">WebUI zostanie odinstalowany po ponownym uruchomieniu</string>
|
||||
<string name="prompt_uninstall_failed">Nie udało się odinstalować WebUI</string>
|
||||
<string name="prompt_checking_update">Sprawdzanie aktualizacji...</string>
|
||||
<string name="prompt_new_update">Nowa aktualizacja jest dostępna!</string>
|
||||
<string name="prompt_no_update">Obecnie nie ma dostępnych aktualizacji</string>
|
||||
<string name="prompt_downloading">Pobieranie nowej aktualizacji...</string>
|
||||
<string name="prompt_downloaded">Pobieranie zakończone</string>
|
||||
<string name="prompt_download_fail">Nie udało się pobrać aktualizacji</string>
|
||||
<string name="prompt_installing">Instalowanie aktualizacji...</string>
|
||||
<string name="prompt_installed">Zainstalowano pomyślnie, uruchom ponownie.</string>
|
||||
<string name="prompt_install_fail">Nie udało się zainstalować, zaktualizuj ręcznie</string>
|
||||
<string name="prompt_rebooting">Ponowne uruchamienie...</string>
|
||||
<string name="prompt_reboot_fail">Nie udało się ponownie uruchomić, proszę wykonać to ręcznie</string>
|
||||
<string name="prompt_custom_key_set">Niestandardowy klucz ustawiony pomyślnie</string>
|
||||
<string name="prompt_custom_key_set_error">Nie udało się ustawić niestandardowego klucza</string>
|
||||
<string name="prompt_no_file_selected">Nie wybrano pliku</string>
|
||||
<string name="prompt_system_app_not_found">Nie znaleziono aplikacji systemowej</string>
|
||||
<string name="prompt_system_app_error">Nie udało się dodać aplikacji systemowej</string>
|
||||
<string name="prompt_shortcut_created">Utworzono skrót do ekranu głównego</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">Poprawka zabezpieczeń</string>
|
||||
<string name="security_patch_advanced_mode">Zaawansowane</string>
|
||||
<string name="security_patch_get_date">Pobierz datę poprawki zabezpieczeń</string>
|
||||
<string name="security_patch_auto">Automatycznie</string>
|
||||
<string name="security_patch_save">Zapisz</string>
|
||||
<string name="security_patch_fetching">Pobieranie...</string>
|
||||
<string name="security_patch_fetched">Gotowe</string>
|
||||
<string name="security_patch_get_failed">Nie udało się pobrać daty poprawki zabezpieczeń</string>
|
||||
<string name="security_patch_unable_to_connect">Nie można połączyć się z source.android.com</string>
|
||||
<string name="security_patch_auto_success">Automatyczna konfiguracja włączona pomyślnie</string>
|
||||
<string name="security_patch_auto_failed">Nie udało się włączyć automatycznej konfiguracji</string>
|
||||
<string name="security_patch_save_success">Poprawka zabezpieczeń zapisana pomyślnie</string>
|
||||
<string name="security_patch_save_failed">Nie udało się zapisać poprawki zabezpieczeń</string>
|
||||
<string name="security_patch_value_empty">Konfiguracja poprawki zabezpieczeń jest wyłączona</string>
|
||||
<string name="security_patch_invalid_all">Nieprawidłowy format</string>
|
||||
<string name="security_patch_invalid_boot">Nieprawidłowy format rozruchu</string>
|
||||
<string name="security_patch_invalid_system">Nieprawidłowy format systemu</string>
|
||||
<string name="security_patch_invalid_vendor">Nieprawidłowy format dostawcy</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">Dodaj aplikację systemową</string>
|
||||
<string name="add_system_app_add">Dodaj</string>
|
||||
<string name="add_system_app_current_list">Aktualna lista aplikacji systemowych</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">Potwierdzić odinstalowanie?</string>
|
||||
<string name="confirmation_uninstall_message">Czy na pewno chcesz odinstalować Tricky Addon?</string>
|
||||
<string name="confirmation_uninstall_cancel">Anuluj</string>
|
||||
<string name="confirmation_uninstall_confirm">Potwierdź</string>
|
||||
</resources>
|
||||
127
module/webui/locales/strings/pt-BR.xml
Normal file
127
module/webui/locales/strings/pt-BR.xml
Normal file
@@ -0,0 +1,127 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">System Default</string>
|
||||
<string name="more_language">Mais</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">Instruções</string>
|
||||
<string name="help_save_and_update">Salvar</string>
|
||||
<string name="help_save_and_update_description">Salve a configuração atual para Target.txt.</string>
|
||||
<string name="help_refresh">Atualizar</string>
|
||||
<string name="help_refresh_description">Atualizar a lista de aplicativos e excluir a lista.</string>
|
||||
<string name="help_select_deselect">Selecione e desmarque tudo</string>
|
||||
<string name="help_select_description">Selecione ou desmarque todos os aplicativos na interface atual.</string>
|
||||
<string name="help_select_denylist">Selecione no DenyList</string>
|
||||
<string name="help_select_denylist_description">Disponível apenas no Magisk, selecione aplicativos que estão no DenyList. Recomendado.</string>
|
||||
<string name="help_deselect_unnecessary">Desmarque desnecessário</string>
|
||||
<string name="help_deselect_unnecessary_description">Categoria desnecessária: Módulo Xposed, gereciador root, apps relacionado a root, e aplicativos gerais que nunca verificam o status do bootloader. Esta opção requer conexão à Internet.</string>
|
||||
<string name="help_add_system_app">Adicionar app do sistema</string>
|
||||
<string name="help_add_system_app_description">Adicionar app do sistema específico à lista de aplicativos.</string>
|
||||
<string name="help_set_keybox">Definir AOSP & Keybox Válida</string>
|
||||
<string name="help_set_keybox_description">Substitua keybox.xml de tricky store. AOSP keybox será substituído se não houver mais a keybox válida. A opção Keybox válida requer conexão à Internet.</string>
|
||||
<string name="help_set_custom_keybox">Definir uma Keybox personalizada</string>
|
||||
<string name="help_set_custom_keybox_description">Importar Keybox do armazenamento do seu dispositivo. Suporta apenas o arquivo XML.</string>
|
||||
<string name="help_set_security_patch">Definir patch de segurança</string>
|
||||
<string name="help_set_security_patch_description">Definir spoof de patch de segurança personalizado. Config automática usará o patch de segurança do módulo PIF. Deixe em branco e salve para desativar a configuração automática.</string>
|
||||
<string name="help_set_verified_boot_hash">Definir Hash de boot verificado</string>
|
||||
<string name="help_set_verified_boot_hash_description">Obter valor de verifiedBootHash de Key Attestation Demo. Corrige abnormal boot state Redefinindo ro.boot.vbmeta.digest. </string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">Uma nova versão está Disponível</string>
|
||||
<string name="update_redirect_to_release">Toque para baixar a versão mais recente</string>
|
||||
<string name="update_changelog">Changelog</string>
|
||||
<string name="update_install">Instalar</string>
|
||||
<string name="update_reboot">Reiniciar</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">Buscar</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">Salvar</string>
|
||||
<string name="functional_button_uninstall_webui">Desinstalar WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">Carregando...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">Atualizar</string>
|
||||
<string name="menu_select_all">Selecionar tudo</string>
|
||||
<string name="menu_deselect_all">Desmarcar tudo</string>
|
||||
<string name="menu_select_denylist">Selecione de denylist</string>
|
||||
<string name="menu_deselect_unnecessary">Desmarcar desnecessário</string>
|
||||
<string name="menu_add_system_app">Adicionar app do sistema</string>
|
||||
<string name="menu_set_aosp_keybox">Definir AOSP Keybox</string>
|
||||
<string name="menu_set_unknown_keybox">Definir Keybox Desconhecido</string>
|
||||
<string name="menu_set_valid_keybox">Definir Keybox Válida</string>
|
||||
<string name="menu_set_custom_keybox">Definir Keybox Custom</string>
|
||||
<string name="menu_set_verified_boot_hash">Definir Hash de Boot Verificado</string>
|
||||
<string name="menu_set_security_patch">Definir Patch de segurança</string>
|
||||
<string name="menu_about">Sobre</string>
|
||||
<string name="menu_shortcut">Criar atalho na tela inicial</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">Boot Hash</string>
|
||||
<string name="boot_hash_input_placeholder">Cole o seu Boot Hash verificado aqui</string>
|
||||
<string name="boot_hash_save_button">Salvar</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">Atualizar lista de destino</string>
|
||||
<string name="about_by">por</string>
|
||||
<string name="about_telegram_channel">Canal do Telegram</string>
|
||||
<string name="about_canary_update">Atualizado para última versão canária</string>
|
||||
<string name="about_disclaimer">Este módulo não faz parte do módulo Tricky Store. Não relate nenhum problema à Tricky Store, se encontrada.</string>
|
||||
<string name="about_acknowledgment">Reconhecimento</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">Por favor, verifique sua conexão com a Internet</string>
|
||||
<string name="prompt_aosp_key_set">AOSP keybox definida com sucesso</string>
|
||||
<string name="prompt_key_set_error">Falha ao atualizar o Keybox</string>
|
||||
<string name="prompt_unknown_key_set">Keybox desconhecido definido com sucesso</string>
|
||||
<string name="prompt_valid_key_set">Keybox válida definida com sucesso</string>
|
||||
<string name="prompt_no_valid">Nenhuma Keybox válida encontrada.</string>
|
||||
<string name="prompt_boot_hash_set">Hash de Boot Verificado salvo com sucesso</string>
|
||||
<string name="prompt_boot_hash_set_error">Falha ao atualizar Hash de Boot Verificado</string>
|
||||
<string name="prompt_saved_target">Config salvo para Target.txt</string>
|
||||
<string name="prompt_save_error">Falha ao salvar a configuração</string>
|
||||
<string name="prompt_uninstall_prompt">WebUI será removido após a reinicialização</string>
|
||||
<string name="prompt_uninstall_failed">Falhou em desinstalar WebUI</string>
|
||||
<string name="prompt_checking_update">Procurando atualizações...</string>
|
||||
<string name="prompt_new_update">Nova atualização está disponível!</string>
|
||||
<string name="prompt_no_update">No momento não há atualizações disponíveis</string>
|
||||
<string name="prompt_downloading">Baixando uma nova atualização ...</string>
|
||||
<string name="prompt_downloaded">Download concluído</string>
|
||||
<string name="prompt_download_fail">Falha ao baixar atualização</string>
|
||||
<string name="prompt_installing">Instalando a atualização ...</string>
|
||||
<string name="prompt_installed">Instalado com sucesso, reinicie agora.</string>
|
||||
<string name="prompt_install_fail">Falha ao instalar, atualize manualmente</string>
|
||||
<string name="prompt_rebooting">Reiniciando...</string>
|
||||
<string name="prompt_reboot_fail">Falha ao reiniciar, reinicie manualmente</string>
|
||||
<string name="prompt_custom_key_set">keybox custom definida com sucesso</string>
|
||||
<string name="prompt_custom_key_set_error">Falha ao definir keybox customizada</string>
|
||||
<string name="prompt_no_file_selected">Nenhum arquivo selecionado</string>
|
||||
<string name="prompt_system_app_not_found">App do sistema não encontrado</string>
|
||||
<string name="prompt_system_app_error">Falha ao adicionar app do sistema</string>
|
||||
<string name="prompt_shortcut_created">Atalho na tela inicial criado com sucesso</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">Patch de segurança</string>
|
||||
<string name="security_patch_advanced_mode">Avançado</string>
|
||||
<string name="security_patch_get_date">Obter data do Patch de Segurança</string>
|
||||
<string name="security_patch_auto">Auto</string>
|
||||
<string name="security_patch_save">Salvar</string>
|
||||
<string name="security_patch_fetching">Buscar...</string>
|
||||
<string name="security_patch_fetched">Feito</string>
|
||||
<string name="security_patch_get_failed">Falha ao buscar a data do patch de segurança</string>
|
||||
<string name="security_patch_unable_to_connect">Não foi possível conectar á source.android.com</string>
|
||||
<string name="security_patch_auto_success">Configuração automática habilitada com sucesso</string>
|
||||
<string name="security_patch_auto_failed">Falha ao ativar a configuração automática</string>
|
||||
<string name="security_patch_save_success">Patch de segurança salvo com sucesso</string>
|
||||
<string name="security_patch_save_failed">Falha ao salvar o patch de segurança</string>
|
||||
<string name="security_patch_value_empty">A configuração do patch de segurança está desativada</string>
|
||||
<string name="security_patch_invalid_all">Formato inválido</string>
|
||||
<string name="security_patch_invalid_boot">Formato de boot inválido</string>
|
||||
<string name="security_patch_invalid_system">Formato do sistema inválido</string>
|
||||
<string name="security_patch_invalid_vendor">Formato de vendor inválido</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">Adicionar app do sistema</string>
|
||||
<string name="add_system_app_add">Adicionar</string>
|
||||
<string name="add_system_app_current_list">Lista de aplicativos do sistema atual</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">Confirmar desinstalar?</string>
|
||||
<string name="confirmation_uninstall_message">Tem certeza que deseja desinstalar Tricky Addon</string>
|
||||
<string name="confirmation_uninstall_cancel">Cancelar</string>
|
||||
<string name="confirmation_uninstall_confirm">Confirmar</string>
|
||||
</resources>
|
||||
122
module/webui/locales/strings/ru.xml
Normal file
122
module/webui/locales/strings/ru.xml
Normal file
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">Системный по умолчанию</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">Инструкции</string>
|
||||
<string name="help_save_and_update">Сохранить</string>
|
||||
<string name="help_save_and_update_description">Сохранить текущую конфигурацию в target.txt.</string>
|
||||
<string name="help_refresh">Обновить</string>
|
||||
<string name="help_refresh_description">Обновить список приложений и список исключений.</string>
|
||||
<string name="help_select_deselect">Выбрать и отменить выбор всех</string>
|
||||
<string name="help_select_description">Выбрать или отменить выбор всех приложений в текущем интерфейсе.</string>
|
||||
<string name="help_select_denylist">Выбрать из DenyList</string>
|
||||
<string name="help_select_denylist_description">Доступно только в Magisk, выберите приложения, которые находятся в DenyList. Рекомендуется.</string>
|
||||
<string name="help_deselect_unnecessary">Отменить выбор ненужных</string>
|
||||
<string name="help_deselect_unnecessary_description">Ненужные категории: модули Xposed, менеджеры root, приложения, связанные с root, и общие приложения, которые никогда не проверяют статус загрузчика. Этот параметр требует подключения к интернету.</string>
|
||||
<string name="help_add_system_app">Добавить системное приложение</string>
|
||||
<string name="help_add_system_app_description">Добавить конкретное системное приложение в список приложений.</string>
|
||||
<string name="help_set_keybox">Установить AOSP и действующий Keybox</string>
|
||||
<string name="help_set_keybox_description">Замените tricky store keybox.xml. AOSP keybox будет заменен, если не будет найден действующий keybox. Опция с действующим keybox требует подключения к интернету.</string>
|
||||
<string name="help_set_custom_keybox">Установить пользовательский Keybox</string>
|
||||
<string name="help_set_custom_keybox_description">Импортируйте файл keybox из вашего устройства в хранилище. Поддерживаются только xml файлы.</string>
|
||||
<string name="help_set_security_patch">Установить Security Patch</string>
|
||||
<string name="help_set_security_patch_description">Установите пользовательский патч безопасности. Автоматическая настройка будет использовать патч безопасности из модуля PIF. Оставьте пустым и сохраните, чтобы отключить автоматическую настройку.</string>
|
||||
<string name="help_set_verified_boot_hash">Установить Verified Boot Hash</string>
|
||||
<string name="help_set_verified_boot_hash_description">Получите значение verifiedBootHash из Key Attestation Demo. Исправьте аномальное состояние загрузки, сбросив ro.boot.vbmeta.digest.</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">Доступна новая версия</string>
|
||||
<string name="update_redirect_to_release">нажмите, чтобы скачать последнюю версию</string>
|
||||
<string name="update_changelog">Список изменений</string>
|
||||
<string name="update_install">Установить</string>
|
||||
<string name="update_reboot">Перезагрузить</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">Поиск</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">Сохранить</string>
|
||||
<string name="functional_button_uninstall_webui">Удалить WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">Загрузка...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">Обновить</string>
|
||||
<string name="menu_select_all">Выбрать все</string>
|
||||
<string name="menu_deselect_all">Отменить выбор всех</string>
|
||||
<string name="menu_select_denylist">Выбрать из DenyList</string>
|
||||
<string name="menu_deselect_unnecessary">Отменить выбор ненужных</string>
|
||||
<string name="menu_add_system_app">Добавить системное приложение</string>
|
||||
<string name="menu_set_aosp_keybox">Установить AOSP Keybox</string>
|
||||
<string name="menu_set_unknown_keybox">Установить неизвестный Keybox</string>
|
||||
<string name="menu_set_valid_keybox">Установить действующий Keybox</string>
|
||||
<string name="menu_set_custom_keybox">Установить пользовательский Keybox</string>
|
||||
<string name="menu_set_verified_boot_hash">Установить Verified Boot Hash</string>
|
||||
<string name="menu_set_security_patch">Установить Security Patch</string>
|
||||
<string name="menu_about">О программе</string>
|
||||
<string name="menu_shortcut">Создать ярлык на главном экране</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">Boot Hash</string>
|
||||
<string name="boot_hash_input_placeholder">Вставьте свой проверенный Boot Hash сюда</string>
|
||||
<string name="boot_hash_save_button">Сохранить</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">Обновить список целей</string>
|
||||
<string name="about_by">от</string>
|
||||
<string name="about_telegram_channel">Канал в Telegram</string>
|
||||
<string name="about_disclaimer">Этот WebUI не является частью Tricky Store, НЕ сообщайте автору Tricky Store о любых возникающих проблемах.</string>
|
||||
<string name="about_acknowledgment">Благодарности</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">Пожалуйста, проверьте ваше подключение к интернету</string>
|
||||
<string name="prompt_aosp_key_set">AOSP keybox успешно установлен</string>
|
||||
<string name="prompt_key_set_error">Не удалось обновить keybox</string>
|
||||
<string name="prompt_unknown_key_set">Неизвестный keybox успешно установлен</string>
|
||||
<string name="prompt_valid_key_set">Действующий keybox успешно установлен</string>
|
||||
<string name="prompt_no_valid">Не найден действующий keybox.</string>
|
||||
<string name="prompt_boot_hash_set">Verified Boot Hash успешно сохранен</string>
|
||||
<string name="prompt_boot_hash_set_error">Не удалось обновить Verified Boot Hash</string>
|
||||
<string name="prompt_saved_target">Конфигурация сохранена в target.txt</string>
|
||||
<string name="prompt_save_error">Не удалось сохранить конфигурацию</string>
|
||||
<string name="prompt_uninstall_prompt">WebUI будет удален после перезагрузки</string>
|
||||
<string name="prompt_uninstall_failed">Не удалось удалить WebUI</string>
|
||||
<string name="prompt_new_update">Доступно новое обновление!</string>
|
||||
<string name="prompt_downloading">Загрузка нового обновления...</string>
|
||||
<string name="prompt_downloaded">Загрузка завершена</string>
|
||||
<string name="prompt_download_fail">Не удалось загрузить обновление</string>
|
||||
<string name="prompt_installing">Установка обновления...</string>
|
||||
<string name="prompt_installed">Успешно установлено, перезагрузите устройство.</string>
|
||||
<string name="prompt_install_fail">Не удалось установить, обновите вручную</string>
|
||||
<string name="prompt_rebooting">Перезагрузка...</string>
|
||||
<string name="prompt_reboot_fail">Не удалось перезагрузить, перезагрузите вручную</string>
|
||||
<string name="prompt_custom_key_set">Пользовательский keybox успешно установлен</string>
|
||||
<string name="prompt_custom_key_set_error">Не удалось установить пользовательский keybox</string>
|
||||
<string name="prompt_no_file_selected">Файл не выбран</string>
|
||||
<string name="prompt_system_app_not_found">Системное приложение не найдено</string>
|
||||
<string name="prompt_system_app_error">Не удалось добавить системное приложение</string>
|
||||
<string name="prompt_shortcut_created">Ярлык на главном экране создан</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">Патч безопасности</string>
|
||||
<string name="security_patch_advanced_mode">Расширенный</string>
|
||||
<string name="security_patch_get_date">Получить дату патча безопасности</string>
|
||||
<string name="security_patch_auto">Авто</string>
|
||||
<string name="security_patch_save">Сохранить</string>
|
||||
<string name="security_patch_fetching">Получение...</string>
|
||||
<string name="security_patch_fetched">Готово</string>
|
||||
<string name="security_patch_get_failed">Не удалось получить дату патча безопасности</string>
|
||||
<string name="security_patch_auto_success">Автоматическая конфигурация успешно включена</string>
|
||||
<string name="security_patch_auto_failed">Не удалось включить автоматическую конфигурацию</string>
|
||||
<string name="security_patch_save_success">Патч безопасности успешно сохранен</string>
|
||||
<string name="security_patch_save_failed">Не удалось сохранить патч безопасности</string>
|
||||
<string name="security_patch_value_empty">Конфигурация патча безопасности отключена</string>
|
||||
<string name="security_patch_invalid_all">Неверный формат</string>
|
||||
<string name="security_patch_invalid_boot">Неверный формат boot</string>
|
||||
<string name="security_patch_invalid_system">Неверный формат system</string>
|
||||
<string name="security_patch_invalid_vendor">Неверный формат vendor</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">Добавить системное приложение</string>
|
||||
<string name="add_system_app_add">Добавить</string>
|
||||
<string name="add_system_app_current_list">Текущий список системных приложений</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">Подтвердить удаление?</string>
|
||||
<string name="confirmation_uninstall_message">Вы уверены, что хотите удалить Tricky Addon</string>
|
||||
<string name="confirmation_uninstall_cancel">Отмена</string>
|
||||
<string name="confirmation_uninstall_confirm">Подтвердить</string>
|
||||
</resources>
|
||||
122
module/webui/locales/strings/tl.xml
Normal file
122
module/webui/locales/strings/tl.xml
Normal file
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">Default ng Sistema</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">Mga Tagubilin</string>
|
||||
<string name="help_save_and_update">I-save</string>
|
||||
<string name="help_save_and_update_description">I-save ang kasalukuyang configuration sa target.txt.</string>
|
||||
<string name="help_refresh">I-refresh</string>
|
||||
<string name="help_refresh_description">I-refresh ang listahan ng apps at exclude list.</string>
|
||||
<string name="help_select_deselect">Piliin & Huwag Pumili ng Lahat</string>
|
||||
<string name="help_select_description">Piliin o huwag piliin ang lahat ng apps sa kasalukuyang interface.</string>
|
||||
<string name="help_select_denylist">Piliin mula sa DenyList</string>
|
||||
<string name="help_select_denylist_description">Available lang sa Magisk, piliin ang mga app na nasa DenyList. Inirerekomenda.</string>
|
||||
<string name="help_deselect_unnecessary">Huwag Pumili ng Hindi Kinakailangan</string>
|
||||
<string name="help_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.</string>
|
||||
<string name="help_add_system_app">Magdagdag ng System App</string>
|
||||
<string name="help_add_system_app_description">Magdagdag ng tiyak na system app sa listahan ng apps.</string>
|
||||
<string name="help_set_keybox">I-set ang AOSP at Valid Keybox</string>
|
||||
<string name="help_set_keybox_description">Palitan ang tricky store keybox. Palitan ang AOSP keybox kung walang valid keybox. Nangangailangan ng koneksyon sa internet ang valid keybox option.</string>
|
||||
<string name="help_set_custom_keybox">I-set ang Custom Keybox</string>
|
||||
<string name="help_set_custom_keybox_description">Mag-import ng custom keybox mula sa iyong device storage. Sumusuporta lamang ng xml file.</string>
|
||||
<string name="help_set_security_patch">I-set ang Security Patch</string>
|
||||
<string name="help_set_security_patch_description">I-set ang custom security patch. Ang auto config ay mag-use ng security patch mula sa PIF module. I-leave blank at i-save para i-disable ang auto config.</string>
|
||||
<string name="help_set_verified_boot_hash">I-set ang Verified Boot Hash</string>
|
||||
<string name="help_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.</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">Handa na ang bagong bersyon</string>
|
||||
<string name="update_redirect_to_release">i-tap para i-download ang pinakabagong bersyon</string>
|
||||
<string name="update_changelog">Mga Pagbabago</string>
|
||||
<string name="update_install">I-install</string>
|
||||
<string name="update_reboot">I-reboot</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">Maghanap</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">I-save</string>
|
||||
<string name="functional_button_uninstall_webui">I-uninstall ang WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">Naglo-load...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">I-refresh</string>
|
||||
<string name="menu_select_all">Piliin Lahat</string>
|
||||
<string name="menu_deselect_all">Huwag Pumili ng Lahat</string>
|
||||
<string name="menu_select_denylist">Piliin mula sa DenyList</string>
|
||||
<string name="menu_deselect_unnecessary">Huwag Pumili ng Hindi Kinakailangan</string>
|
||||
<string name="menu_add_system_app">Magdagdag ng System App</string>
|
||||
<string name="menu_set_aosp_keybox">I-set ang AOSP Keybox</string>
|
||||
<string name="menu_set_unknown_keybox">I-set ang Hindi Kilalang Keybox</string>
|
||||
<string name="menu_set_valid_keybox">I-set ang Valid Keybox</string>
|
||||
<string name="menu_set_custom_keybox">I-set ang Custom Keybox</string>
|
||||
<string name="menu_set_verified_boot_hash">I-set ang Verified Boot Hash</string>
|
||||
<string name="menu_set_security_patch">I-set ang Security Patch</string>
|
||||
<string name="menu_about">Tungkol</string>
|
||||
<string name="menu_shortcut">Gumawa ng shortcut sa home screen</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">Boot Hash</string>
|
||||
<string name="boot_hash_input_placeholder">I-paste ang iyong verified Boot Hash dito</string>
|
||||
<string name="boot_hash_save_button">I-save</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">I-update ang Target List</string>
|
||||
<string name="about_by">ni</string>
|
||||
<string name="about_telegram_channel">Telegram Channel</string>
|
||||
<string name="about_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.</string>
|
||||
<string name="about_acknowledgment">Pagkilala</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">Pakitingnan ang iyong koneksyon sa Internet</string>
|
||||
<string name="prompt_aosp_key_set">Matagumpay na na-set ang AOSP Keybox</string>
|
||||
<string name="prompt_key_set_error">Nabigong i-update ang keybox</string>
|
||||
<string name="prompt_unknown_key_set">Matagumpay na na-set ang Hindi Kilalang Keybox</string>
|
||||
<string name="prompt_valid_key_set">Matagumpay na na-set ang Valid Keybox</string>
|
||||
<string name="prompt_no_valid">Walang valid na keybox na natagpuan.</string>
|
||||
<string name="prompt_boot_hash_set">Matagumpay na na-save ang Verified Boot Hash</string>
|
||||
<string name="prompt_boot_hash_set_error">Nabigong i-update ang Verified Boot Hash</string>
|
||||
<string name="prompt_saved_target">Na-save ang configuration sa target.txt</string>
|
||||
<string name="prompt_save_error">Nabigong i-save ang config</string>
|
||||
<string name="prompt_uninstall_prompt">Mawawala ang WebUI pagkatapos ng reboot</string>
|
||||
<string name="prompt_uninstall_failed">Nabigong i-uninstall ang WebUI</string>
|
||||
<string name="prompt_new_update">May bagong update na available!</string>
|
||||
<string name="prompt_downloading">Nagda-download ng bagong update...</string>
|
||||
<string name="prompt_downloaded">Natapos ang pag-download</string>
|
||||
<string name="prompt_download_fail">Nabigo ang pag-download ng update</string>
|
||||
<string name="prompt_installing">Nag-i-install ng update...</string>
|
||||
<string name="prompt_installed">Matagumpay na na-install, mag-reboot na ngayon.</string>
|
||||
<string name="prompt_install_fail">Nabigo ang pag-install, pakisubukang mag-update nang manu-mano</string>
|
||||
<string name="prompt_rebooting">Nag-re-reboot...</string>
|
||||
<string name="prompt_reboot_fail">Nabigo ang pag-reboot, pakisubukang mag-reboot nang manu-mano</string>
|
||||
<string name="prompt_custom_key_set">Matagumpay na na-set ang Custom Keybox</string>
|
||||
<string name="prompt_custom_key_set_error">Nabigong i-set ang Custom Keybox</string>
|
||||
<string name="prompt_no_file_selected">Walang napiling file</string>
|
||||
<string name="prompt_system_app_not_found">Walang natagpuan na system app</string>
|
||||
<string name="prompt_system_app_error">Nabigong dagdag ang system app</string>
|
||||
<string name="prompt_shortcut_created">Matagumpay na nagawa ang shortcut sa home screen</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">Security Patch</string>
|
||||
<string name="security_patch_advanced_mode">Advanced</string>
|
||||
<string name="security_patch_get_date">Kunin ang Petsa ng Security Patch</string>
|
||||
<string name="security_patch_auto">Auto</string>
|
||||
<string name="security_patch_save">I-save</string>
|
||||
<string name="security_patch_fetching">Kumukuha...</string>
|
||||
<string name="security_patch_fetched">Tapos na</string>
|
||||
<string name="security_patch_get_failed">Hindi makuha ang petsa ng security patch</string>
|
||||
<string name="security_patch_auto_success">Matagumpay na na-enable ang auto config</string>
|
||||
<string name="security_patch_auto_failed">Nabigong i-enable ang auto config</string>
|
||||
<string name="security_patch_save_success">Matagumpay na na-save ang security patch</string>
|
||||
<string name="security_patch_save_failed">Nabigong i-save ang security patch</string>
|
||||
<string name="security_patch_value_empty">Naka-disable ang configuration ng security patch</string>
|
||||
<string name="security_patch_invalid_all">Invalid format</string>
|
||||
<string name="security_patch_invalid_boot">Invalid boot format</string>
|
||||
<string name="security_patch_invalid_system">Invalid system format</string>
|
||||
<string name="security_patch_invalid_vendor">Invalid vendor format</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">Magdagdag ng System App</string>
|
||||
<string name="add_system_app_add">Idagdag</string>
|
||||
<string name="add_system_app_current_list">Kasalukuyang Listahan ng System App</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">Kumpirmahin ang Pag-uninstall?</string>
|
||||
<string name="confirmation_uninstall_message">Sigurado ka bang gusto mong i-uninstall ang Tricky Addon</string>
|
||||
<string name="confirmation_uninstall_cancel">Kanselahin</string>
|
||||
<string name="confirmation_uninstall_confirm">Kumpirmahin</string>
|
||||
</resources>
|
||||
122
module/webui/locales/strings/tr.xml
Normal file
122
module/webui/locales/strings/tr.xml
Normal file
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">Sistem Varsayılanı</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">Talimatlar</string>
|
||||
<string name="help_save_and_update">Kaydet</string>
|
||||
<string name="help_save_and_update_description">Mevcut yapılandırmayı target.txt dosyasına kaydet.</string>
|
||||
<string name="help_refresh">Yenile</string>
|
||||
<string name="help_refresh_description">Uygulama ve hariç tutma listesini yenile.</string>
|
||||
<string name="help_select_deselect">Tümünü Seç & Seçimi Kaldır</string>
|
||||
<string name="help_select_description">Mevcut arayüzdeki tüm uygulamaları seç veya seçimini kaldır.</string>
|
||||
<string name="help_select_denylist">Reddetme Listesinden Seç</string>
|
||||
<string name="help_select_denylist_description">Yalnızca Magisk'te mevcut, Reddetme Listesindeki uygulamaları seç. Tavsiye edilir.</string>
|
||||
<string name="help_deselect_unnecessary">Gereksizleri Seçme</string>
|
||||
<string name="help_deselect_unnecessary_description">Gereksiz kategori: Xposed modülü, root yöneticisi, root ile ilgili uygulamalar ve asla bootloader durumunu kontrol etmeyen genel uygulamalar. Bu seçenek internet bağlantısı gerektirir.</string>
|
||||
<string name="help_add_system_app">Sistem Uygulaması Ekle</string>
|
||||
<string name="help_add_system_app_description">Belirli bir sistem uygulamasını uygulama listesine ekleyin.</string>
|
||||
<string name="help_set_keybox">AOSP & Geçerli Keybox Ayarla</string>
|
||||
<string name="help_set_keybox_description">Tricky Store'daki keybox.xml dosyasını değiştirir. Eğer geçerli bir keybox yoksa AOSP keybox ile değiştirilecektir. Geçerli keybox seçeneği internet bağlantısı gerektirir.</string>
|
||||
<string name="help_set_custom_keybox">Özel Keybox Ayarla</string>
|
||||
<string name="help_set_custom_keybox_description">Cihaz depolamasından bir keybox dosyasını içe aktarın. Sadece xml dosyaları desteklenir.</string>
|
||||
<string name="help_set_security_patch">Güvenlik Yaması Ayarla</string>
|
||||
<string name="help_set_security_patch_description">Özel güvenlik yamasını ayarlayın. Otomatik yapılandırma PIF modülünün güvenlik yamasını kullanacaktır. Boş bırakın ve kaydedin ki otomatik yapılandırma devre dışı bırakılsın.</string>
|
||||
<string name="help_set_verified_boot_hash">Doğrulanmış Boot Hash Ayarla</string>
|
||||
<string name="help_set_verified_boot_hash_description">Key Attestation Demo'dan verifiedBootHash değerini alın. Abnormal boot durumunu ro.boot.vbmeta.digest'i sıfırlayarak düzeltin.</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">Yeni bir sürüm hazır</string>
|
||||
<string name="update_redirect_to_release">Son sürümü indirmek için dokunun</string>
|
||||
<string name="update_changelog">Değişiklik Günlüğü</string>
|
||||
<string name="update_install">Yükle</string>
|
||||
<string name="update_reboot">Yeniden Başlat</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">Ara</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">Kaydet</string>
|
||||
<string name="functional_button_uninstall_webui">WebUI'ı Kaldır</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">Yükleniyor...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">Yenile</string>
|
||||
<string name="menu_select_all">Tümünü Seç</string>
|
||||
<string name="menu_deselect_all">Tüm Seçimleri Kaldır</string>
|
||||
<string name="menu_select_denylist">Reddetme Listesinden Seç</string>
|
||||
<string name="menu_deselect_unnecessary">Gereksizleri Seçme</string>
|
||||
<string name="menu_add_system_app">Sistem Uygulaması Ekle</string>
|
||||
<string name="menu_set_aosp_keybox">AOSP Keybox Ayarla</string>
|
||||
<string name="menu_set_unknown_keybox">Bilinmeyen Keybox Ayarla</string>
|
||||
<string name="menu_set_valid_keybox">Geçerli Keybox Ayarla</string>
|
||||
<string name="menu_set_custom_keybox">Özel Keybox Ayarla</string>
|
||||
<string name="menu_set_verified_boot_hash">Doğrulanmış Boot Hash Ayarla</string>
|
||||
<string name="menu_set_security_patch">Güvenlik Yaması Ayarla</string>
|
||||
<string name="menu_about">Hakkında</string>
|
||||
<string name="menu_shortcut">Ana ekrana kısayol oluştur</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">Boot Hash</string>
|
||||
<string name="boot_hash_input_placeholder">Doğrulanmış Boot Hash'inizi buraya yapıştırın</string>
|
||||
<string name="boot_hash_save_button">Kaydet</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">Target List'i Güncelle</string>
|
||||
<string name="about_by">tarafından</string>
|
||||
<string name="about_telegram_channel">Telegram Kanalı</string>
|
||||
<string name="about_disclaimer">Bu modül, Tricky Store modülünün bir parçası değildir. Herhangi bir sorun yaşarsanız, lütfen bunu Tricky Store'a rapor etmeyin.</string>
|
||||
<string name="about_acknowledgment">Teşekkürler</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">Lütfen internet bağlantınızı kontrol edin</string>
|
||||
<string name="prompt_aosp_key_set">AOSP keybox başarıyla ayarlandı</string>
|
||||
<string name="prompt_key_set_error">Keybox güncellenemedi</string>
|
||||
<string name="prompt_unknown_key_set">Bilinmeyen keybox başarıyla ayarlandı</string>
|
||||
<string name="prompt_valid_key_set">Geçerli keybox başarıyla ayarlandı</string>
|
||||
<string name="prompt_no_valid">Geçerli keybox bulunamadı.</string>
|
||||
<string name="prompt_boot_hash_set">Doğrulanmış Boot Hash başarıyla kaydedildi</string>
|
||||
<string name="prompt_boot_hash_set_error">Doğrulanmış Boot Hash güncellenemedi</string>
|
||||
<string name="prompt_saved_target">Yapılandırma target.txt dosyasına kaydedildi</string>
|
||||
<string name="prompt_save_error">Yapılandırma kaydedilemedi</string>
|
||||
<string name="prompt_uninstall_prompt">WebUI yeniden başlatma sonrasında kaldırılacak</string>
|
||||
<string name="prompt_uninstall_failed">WebUI kaldırılamadı</string>
|
||||
<string name="prompt_new_update">Yeni bir güncelleme mevcut!</string>
|
||||
<string name="prompt_downloading">Yeni güncelleme indiriliyor...</string>
|
||||
<string name="prompt_downloaded">İndirme tamamlandı</string>
|
||||
<string name="prompt_download_fail">Güncelleme indirilemedi</string>
|
||||
<string name="prompt_installing">Güncelleme yükleniyor...</string>
|
||||
<string name="prompt_installed">Başarıyla yüklendi, şimdi yeniden başlatın.</string>
|
||||
<string name="prompt_install_fail">Yükleme başarısız oldu, lütfen manuel olarak güncelleyin</string>
|
||||
<string name="prompt_rebooting">Yeniden başlatılıyor...</string>
|
||||
<string name="prompt_reboot_fail">Yeniden başlatma başarısız, lütfen manuel olarak yeniden başlatın</string>
|
||||
<string name="prompt_custom_key_set">Özel keybox başarıyla ayarlandı</string>
|
||||
<string name="prompt_custom_key_set_error">Özel keybox ayarlanamadı</string>
|
||||
<string name="prompt_no_file_selected">Dosya seçilmedi</string>
|
||||
<string name="prompt_system_app_not_found">Sistem uygulaması bulunamadı</string>
|
||||
<string name="prompt_system_app_error">Sistem uygulaması ekleme hatası</string>
|
||||
<string name="prompt_shortcut_created">Ana ekran kısayolu oluşturuldu</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">Güvenlik Yaması</string>
|
||||
<string name="security_patch_advanced_mode">Gelişmiş</string>
|
||||
<string name="security_patch_get_date">Güvenlik Yaması Tarihini Al</string>
|
||||
<string name="security_patch_auto">Otomatik</string>
|
||||
<string name="security_patch_save">Kaydet</string>
|
||||
<string name="security_patch_fetching">Alınıyor...</string>
|
||||
<string name="security_patch_fetched">Tamamlandı</string>
|
||||
<string name="security_patch_get_failed">Güvenlik yaması tarihi alınamadı</string>
|
||||
<string name="security_patch_auto_success">Otomatik yapılandırma başarıyla etkinleştirildi</string>
|
||||
<string name="security_patch_auto_failed">Otomatik yapılandırma etkinleştirilemedi</string>
|
||||
<string name="security_patch_save_success">Güvenlik yaması başarıyla kaydedildi</string>
|
||||
<string name="security_patch_save_failed">Güvenlik yaması kaydedilemedi</string>
|
||||
<string name="security_patch_value_empty">Güvenlik yaması yapılandırması devre dışı bırakıldı</string>
|
||||
<string name="security_patch_invalid_all">Geçersiz format</string>
|
||||
<string name="security_patch_invalid_boot">Geçersiz boot formatı</string>
|
||||
<string name="security_patch_invalid_system">Geçersiz system formatı</string>
|
||||
<string name="security_patch_invalid_vendor">Geçersiz vendor formatı</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">Sistem Uygulaması Ekle</string>
|
||||
<string name="add_system_app_add">Ekle</string>
|
||||
<string name="add_system_app_current_list">Mevcut Sistem Uygulamaları Listesi</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">Kaldırma İşlemi Onaylansın mı?</string>
|
||||
<string name="confirmation_uninstall_message">Tricky Addon'u kaldırmak istediğinizden emin misiniz</string>
|
||||
<string name="confirmation_uninstall_cancel">İptal</string>
|
||||
<string name="confirmation_uninstall_confirm">Onayla</string>
|
||||
</resources>
|
||||
126
module/webui/locales/strings/uk.xml
Normal file
126
module/webui/locales/strings/uk.xml
Normal file
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">System Default</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">Вказівки</string>
|
||||
<string name="help_save_and_update">Зберегти</string>
|
||||
<string name="help_save_and_update_description">Зберегти поточну конфігурацію до файлу target.txt</string>
|
||||
<string name="help_refresh">Оновити</string>
|
||||
<string name="help_refresh_description">Оновити список застосунків та перелік виключень.</string>
|
||||
<string name="help_select_deselect">Виділити та прибрати виділення всіх</string>
|
||||
<string name="help_select_description">Вибрати чи прибрати виділення всіх застосунків у поточному інтерфейсі.</string>
|
||||
<string name="help_select_denylist">Виберіть із DenyList</string>
|
||||
<string name="help_select_denylist_description">Доступно лише у Magisk, обрати застосунки, які входять до DenyList. Рекомендовано.</string>
|
||||
<string name="help_deselect_unnecessary">Зняти виділення з необов'язкових</string>
|
||||
<string name="help_deselect_unnecessary_description">Необов'язкова категорія: Модуль Xposed, рут-менеджер, програми, пов'язані з рутом, і загальні програми, які ніколи не перевіряють стан завантажувача. Ця опція вимагає підключення до інтернету.</string>
|
||||
<string name="help_add_system_app">Додати системний застосунок</string>
|
||||
<string name="help_add_system_app_description">Додати конкретний системний застосунок до списку.</string>
|
||||
<string name="help_set_keybox">Встановити AOSP та валідний ключ</string>
|
||||
<string name="help_set_keybox_description">Замінити tricky store keybox.xml. Ключа буде замінено на AOSP, якщо не буде валідного. Для використання валідного ключа потрібне з'єднання з інтернетом.</string>
|
||||
<string name="help_set_custom_keybox">Встановити власний ключ</string>
|
||||
<string name="help_set_custom_keybox_description">Імпортувати ключі зі сховища вашого пристрою. Підтримуються лише xml файли.</string>
|
||||
<string name="help_set_security_patch">Встановити патч безпеки</string>
|
||||
<string name="help_set_security_patch_description">Встановити власну підміну патчу безпеки. Автоконфігурація використовуватиме патч безпеки з модуля PIF. Залиште порожнім і збережіть, щоб вимкнути автоконфігурацію.</string>
|
||||
<string name="help_set_verified_boot_hash">Встановити перевірений хеш завантаження</string>
|
||||
<string name="help_set_verified_boot_hash_description">Отримати значення verifiedBootHash з Key Attestation Demo. Виправляє ненормальний стан завантаження шляхом скидання ro.boot.vbmeta.digest.</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">Нова версія готова</string>
|
||||
<string name="update_redirect_to_release">натисніть, щоб завантажити найновішу версію</string>
|
||||
<string name="update_changelog">Список змін</string>
|
||||
<string name="update_install">Встановити</string>
|
||||
<string name="update_reboot">Перезавантажити</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">Пошук</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">Зберегти</string>
|
||||
<string name="functional_button_uninstall_webui">Деінсталювати WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">Завантаження...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">Оновити</string>
|
||||
<string name="menu_select_all">Вибрати все</string>
|
||||
<string name="menu_deselect_all">Прибрати усі позначки</string>
|
||||
<string name="menu_select_denylist">Вибрати із DenyList</string>
|
||||
<string name="menu_deselect_unnecessary">Прибрати необов'язкові</string>
|
||||
<string name="menu_add_system_app">Додати системний застосунок</string>
|
||||
<string name="menu_set_aosp_keybox">Встановити AOSP ключ</string>
|
||||
<string name="menu_set_unknown_keybox">Встановити невідомий ключ</string>
|
||||
<string name="menu_set_valid_keybox">Встановити валідний ключ</string>
|
||||
<string name="menu_set_custom_keybox">Встановити користувацький ключ</string>
|
||||
<string name="menu_set_verified_boot_hash">Встановити перевірений хеш завантаження</string>
|
||||
<string name="menu_set_security_patch">Встановити патч безпеки</string>
|
||||
<string name="menu_about">Деталі</string>
|
||||
<string name="menu_shortcut">Створити значок на домашньому екрані</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">Хеш завантаження</string>
|
||||
<string name="boot_hash_input_placeholder">Вставте перевірений хеш завантаження сюди</string>
|
||||
<string name="boot_hash_save_button">Зберегти</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">Оновити Target List</string>
|
||||
<string name="about_by">by</string>
|
||||
<string name="about_telegram_channel">Телеґрам-канал</string>
|
||||
<string name="about_canary_update">Оновити до останньої canary версії</string>
|
||||
<string name="about_disclaimer">Цей модуль не є частиною модуля Tricky Store. НЕ повідомляйте Tricky Store про будь-які проблеми, якщо вони виникли.</string>
|
||||
<string name="about_acknowledgment">Подяка</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">Будь ласка, перевірте своє інтернет-з'єднання</string>
|
||||
<string name="prompt_aosp_key_set">Ключ AOSP успішно встановлено</string>
|
||||
<string name="prompt_key_set_error">Не вдалося оновити ключ</string>
|
||||
<string name="prompt_unknown_key_set">Невідомий ключ успішно встановлено</string>
|
||||
<string name="prompt_valid_key_set">Валідний ключ успішно встановлений</string>
|
||||
<string name="prompt_no_valid">Не знайдено жодного дійсного ключа.</string>
|
||||
<string name="prompt_boot_hash_set">Перевірений хеш завантаження успішно збережено</string>
|
||||
<string name="prompt_boot_hash_set_error">Не вдалося оновити перевірений хеш завантаження</string>
|
||||
<string name="prompt_saved_target">Конфігурацію збережено до файлу target.txt</string>
|
||||
<string name="prompt_save_error">Не вдалося зберегти конфігурацію</string>
|
||||
<string name="prompt_uninstall_prompt">WebUI буде видалено після перезавантаження</string>
|
||||
<string name="prompt_uninstall_failed">Не вдалося видалити WebUI</string>
|
||||
<string name="prompt_checking_update">Перевірка оновлень...</string>
|
||||
<string name="prompt_new_update">Доступне нове оновлення!</string>
|
||||
<string name="prompt_no_update">Наразі немає доступних оновлень</string>
|
||||
<string name="prompt_downloading">Завантажуємо нове оновлення...</string>
|
||||
<string name="prompt_downloaded">Завантаження завершено</string>
|
||||
<string name="prompt_download_fail">Не вдається завантажити оновлення</string>
|
||||
<string name="prompt_installing">Встановлюємо оновлення...</string>
|
||||
<string name="prompt_installed">Успішно встановлено, тепер перезавантажте пристрій.</string>
|
||||
<string name="prompt_install_fail">Не вдалося встановити, будь ласка, оновіть вручну</string>
|
||||
<string name="prompt_rebooting">Перезавантаження...</string>
|
||||
<string name="prompt_reboot_fail">Не вдається перезавантажити, будь ласка, перезавантажте вручну</string>
|
||||
<string name="prompt_custom_key_set">Успішне встановлення користувацького ключа</string>
|
||||
<string name="prompt_custom_key_set_error">Не вдалося встановити користувальницький ключ</string>
|
||||
<string name="prompt_no_file_selected">Не вибрано жодного файлу</string>
|
||||
<string name="prompt_system_app_not_found">Системний застосунок не знайдено</string>
|
||||
<string name="prompt_system_app_error">Не вдалося додати системний застосунок</string>
|
||||
<string name="prompt_shortcut_created">Створено значок на домашньому екрані</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">Патч безпеки</string>
|
||||
<string name="security_patch_advanced_mode">Розширені</string>
|
||||
<string name="security_patch_get_date">Отримати дату патчу безпеки</string>
|
||||
<string name="security_patch_auto">Авто</string>
|
||||
<string name="security_patch_save">Зберегти</string>
|
||||
<string name="security_patch_fetching">Робимо запит...</string>
|
||||
<string name="security_patch_fetched">Готово</string>
|
||||
<string name="security_patch_get_failed">Не вдалося отримати дату патчу безпеки</string>
|
||||
<string name="security_patch_unable_to_connect">Не вдалося під\'єднатися до source.android.com</string>
|
||||
<string name="security_patch_auto_success">Автоконфігурацію успішно увімкнено</string>
|
||||
<string name="security_patch_auto_failed">Не вдалося увімкнути автоконфігурацію</string>
|
||||
<string name="security_patch_save_success">Успішно збережено патч безпеки</string>
|
||||
<string name="security_patch_save_failed">Не вдалося зберегти патч безпеки</string>
|
||||
<string name="security_patch_value_empty">Конфігурацію патчу безпеки вимкнено</string>
|
||||
<string name="security_patch_invalid_all">Неправильний формат</string>
|
||||
<string name="security_patch_invalid_boot">Неправильний формат завантаження</string>
|
||||
<string name="security_patch_invalid_system">Неправильний формат системи</string>
|
||||
<string name="security_patch_invalid_vendor">Неправильний формат виробника</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">Додати системний застосунок</string>
|
||||
<string name="add_system_app_add">Add</string>
|
||||
<string name="add_system_app_current_list">Поточний список системних застосунків</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">Підтверджуєте видалення?</string>
|
||||
<string name="confirmation_uninstall_message">Ви дійсно хочете видалити Tricky Addon?</string>
|
||||
<string name="confirmation_uninstall_cancel">Скасувати</string>
|
||||
<string name="confirmation_uninstall_confirm">Підтвердити</string>
|
||||
</resources>
|
||||
127
module/webui/locales/strings/zh-CN.xml
Normal file
127
module/webui/locales/strings/zh-CN.xml
Normal file
@@ -0,0 +1,127 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">系统默认</string>
|
||||
<string name="more_language">更多</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">TS 插件</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">使用指南</string>
|
||||
<string name="help_save_and_update">保存</string>
|
||||
<string name="help_save_and_update_description">保存当前配置到目标列表(target.txt)。</string>
|
||||
<string name="help_refresh">刷新</string>
|
||||
<string name="help_refresh_description">刷新应用列表和排除列表。</string>
|
||||
<string name="help_select_deselect">全选 & 取消全选</string>
|
||||
<string name="help_select_description">选择或取消选择当前界面中的所有应用。</string>
|
||||
<string name="help_select_denylist">从排除列表中选择</string>
|
||||
<string name="help_select_denylist_description">仅适用于 Magisk,选择在排除列表中的应用。推荐使用。</string>
|
||||
<string name="help_deselect_unnecessary">取消选择非必要应用</string>
|
||||
<string name="help_deselect_unnecessary_description">非必要分类:Xposed 模块、root 管理器、与 root 相关的应用,以及从不检查 bootloader 状态的通用应用。此功能需连网使用。</string>
|
||||
<string name="help_add_system_app">添加系统应用</string>
|
||||
<string name="help_add_system_app_description">添加特定系统应用到应用列表。</string>
|
||||
<string name="help_set_keybox">设置 AOSP & 有效密钥</string>
|
||||
<string name="help_set_keybox_description">替换 Tricky Store 的密钥(keybox.xml)。如果没有有效密钥,将替换为 AOSP 密钥。有效密钥选项需连网使用。</string>
|
||||
<string name="help_set_custom_keybox">设置自定义密钥</string>
|
||||
<string name="help_set_custom_keybox_description">从设备存储导入自定义密钥。仅支持 xml 文件。</string>
|
||||
<string name="help_set_security_patch">设置安全补丁</string>
|
||||
<string name="help_set_security_patch_description">设置自定义安全补丁。自动配置将使用 PIF 模块的安全补丁。留空保存则禁用自动配置。</string>
|
||||
<string name="help_set_verified_boot_hash">设置哈希值</string>
|
||||
<string name="help_set_verified_boot_hash_description">从 Key Attestation Demo 获取 verifiedBootHash(哈希值)。通过重置 ro.boot.vbmeta.digest 修复异常 boot 状态。</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">发现新的版本</string>
|
||||
<string name="update_redirect_to_release">点击下载最新版本</string>
|
||||
<string name="update_changelog">更新日志</string>
|
||||
<string name="update_install">安装</string>
|
||||
<string name="update_reboot">重启</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">搜索</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">保存</string>
|
||||
<string name="functional_button_uninstall_webui">卸载 WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">加载中...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">刷新</string>
|
||||
<string name="menu_select_all">全选</string>
|
||||
<string name="menu_deselect_all">取消全选</string>
|
||||
<string name="menu_select_denylist">从排除列表中选择</string>
|
||||
<string name="menu_deselect_unnecessary">取消选择非必要应用</string>
|
||||
<string name="menu_add_system_app">添加系统应用</string>
|
||||
<string name="menu_set_aosp_keybox">设置 AOSP 密钥</string>
|
||||
<string name="menu_set_unknown_keybox">设置未知密钥</string>
|
||||
<string name="menu_set_valid_keybox">设置有效密钥</string>
|
||||
<string name="menu_set_custom_keybox">设置自定义密钥</string>
|
||||
<string name="menu_set_verified_boot_hash">设置哈希值</string>
|
||||
<string name="menu_set_security_patch">设置安全补丁</string>
|
||||
<string name="menu_about">关于</string>
|
||||
<string name="menu_shortcut">创建桌面快捷方式</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">哈希值</string>
|
||||
<string name="boot_hash_input_placeholder">在此粘贴您的哈希值</string>
|
||||
<string name="boot_hash_save_button">保存</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">TS插件</string>
|
||||
<string name="about_module_name_line2">更新目标列表</string>
|
||||
<string name="about_by">作者:</string>
|
||||
<string name="about_telegram_channel">TG频道</string>
|
||||
<string name="about_canary_update">下载最新测试版</string>
|
||||
<string name="about_disclaimer">此 WebUI 不是 Tricky Store 的一部分,遇到任何问题请勿向 Tricky Store 作者反馈。</string>
|
||||
<string name="about_acknowledgment">特别鸣谢</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">请检查您的网络连接</string>
|
||||
<string name="prompt_aosp_key_set">成功设置 AOSP 密钥</string>
|
||||
<string name="prompt_key_set_error">更新密钥失败</string>
|
||||
<string name="prompt_unknown_key_set">成功设置未知密钥</string>
|
||||
<string name="prompt_valid_key_set">成功设置有效密钥</string>
|
||||
<string name="prompt_no_valid">未找到有效密钥。</string>
|
||||
<string name="prompt_boot_hash_set">哈希值重置成功</string>
|
||||
<string name="prompt_boot_hash_set_error">哈希值重置失败</string>
|
||||
<string name="prompt_saved_target">成功保存配置</string>
|
||||
<string name="prompt_save_error">保存配置失败</string>
|
||||
<string name="prompt_uninstall_prompt">WebUI 将在重启后被移除</string>
|
||||
<string name="prompt_uninstall_failed">卸载 WebUI 失败</string>
|
||||
<string name="prompt_checking_update">正在检测更新...</string>
|
||||
<string name="prompt_new_update">发现新的版本!</string>
|
||||
<string name="prompt_no_update">当前已是最新版本</string>
|
||||
<string name="prompt_downloading">正在下载...</string>
|
||||
<string name="prompt_downloaded">下载完成</string>
|
||||
<string name="prompt_download_fail">下载失败</string>
|
||||
<string name="prompt_installing">正常安装...</string>
|
||||
<string name="prompt_installed">安装完成,重启生效</string>
|
||||
<string name="prompt_install_fail">安装失败,请手动更新</string>
|
||||
<string name="prompt_rebooting">正在重启...</string>
|
||||
<string name="prompt_reboot_fail">重启失败,请手动重启</string>
|
||||
<string name="prompt_custom_key_set">成功设置自定义密钥</string>
|
||||
<string name="prompt_custom_key_set_error">设置自定义密钥失败</string>
|
||||
<string name="prompt_no_file_selected">未选择文件</string>
|
||||
<string name="prompt_system_app_not_found">未找到该系统应用</string>
|
||||
<string name="prompt_system_app_error">系统应用添加失败</string>
|
||||
<string name="prompt_shortcut_created">桌面快捷方式已创建</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">安全补丁</string>
|
||||
<string name="security_patch_advanced_mode">高级</string>
|
||||
<string name="security_patch_get_date">获取安全补丁日期</string>
|
||||
<string name="security_patch_auto">自动</string>
|
||||
<string name="security_patch_save">保存</string>
|
||||
<string name="security_patch_fetching">获取中...</string>
|
||||
<string name="security_patch_fetched">完成</string>
|
||||
<string name="security_patch_get_failed">获取安全补丁日期失败</string>
|
||||
<string name="security_patch_unable_to_connect">无法连接至 source.android.com</string>
|
||||
<string name="security_patch_auto_success">自动配置成功启用</string>
|
||||
<string name="security_patch_auto_failed">无法启用自动配置</string>
|
||||
<string name="security_patch_save_success">安全补丁成功保存</string>
|
||||
<string name="security_patch_save_failed">保存安全补丁失败</string>
|
||||
<string name="security_patch_value_empty">安全补丁配置已禁用</string>
|
||||
<string name="security_patch_invalid_all">无效格式</string>
|
||||
<string name="security_patch_invalid_boot">无效 boot 格式</string>
|
||||
<string name="security_patch_invalid_system">无效 system 格式</string>
|
||||
<string name="security_patch_invalid_vendor">无效 vendor 格式</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">添加系统应用</string>
|
||||
<string name="add_system_app_add">添加</string>
|
||||
<string name="add_system_app_current_list">当前系统应用列表</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">确认卸载?</string>
|
||||
<string name="confirmation_uninstall_message">您确定要卸载 TS 插件吗</string>
|
||||
<string name="confirmation_uninstall_cancel">取消</string>
|
||||
<string name="confirmation_uninstall_confirm">确认</string>
|
||||
</resources>
|
||||
127
module/webui/locales/strings/zh-TW.xml
Normal file
127
module/webui/locales/strings/zh-TW.xml
Normal file
@@ -0,0 +1,127 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">系統預設</string>
|
||||
<string name="more_language">更多</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">TS 插件</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">使用指南</string>
|
||||
<string name="help_save_and_update">保存</string>
|
||||
<string name="help_save_and_update_description">保存當前配置到目標列表(target.txt)。</string>
|
||||
<string name="help_refresh">刷新</string>
|
||||
<string name="help_refresh_description">刷新應用列表和排除列表。</string>
|
||||
<string name="help_select_deselect">全選 & 取消全選</string>
|
||||
<string name="help_select_description">選擇或取消選擇當前界面中的所有應用。</string>
|
||||
<string name="help_select_denylist">從排除列表中選擇</string>
|
||||
<string name="help_select_denylist_description">僅適用於 Magisk,選擇在排除列表中的應用。推薦使用。</string>
|
||||
<string name="help_deselect_unnecessary">取消選擇非必要應用</string>
|
||||
<string name="help_deselect_unnecessary_description">非必要分類:Xposed 模組、root 管理器、與 root 相關的應用,以及從不檢查 bootloader 狀態的通用應用。此功能需連網使用。</string>
|
||||
<string name="help_add_system_app">添加系統應用</string>
|
||||
<string name="help_add_system_app_description">添加特定系統應用到應用列表。</string>
|
||||
<string name="help_set_keybox">設置 AOSP & 有效密鑰</string>
|
||||
<string name="help_set_keybox_description">替換 Tricky Store 的密鑰(keybox.xml)。如果沒有有效密鑰,將替換為 AOSP 密鑰。有效密鑰選項需連網使用。</string>
|
||||
<string name="help_set_custom_keybox">設置自定義密鑰</string>
|
||||
<string name="help_set_custom_keybox_description">從設備存儲導入自定義密鑰。僅支持 xml 文件。</string>
|
||||
<string name="help_set_security_patch">設置安全補丁</string>
|
||||
<string name="help_set_security_patch_description">設置自定義安全補丁。自動配置將使用 PIF 模組的安全補丁。留空保存則禁用自動配置。</string>
|
||||
<string name="help_set_verified_boot_hash">設置哈希值</string>
|
||||
<string name="help_set_verified_boot_hash_description">從 Key Attestation Demo 獲取 verifiedBootHash(哈希值)。通過重置 ro.boot.vbmeta.digest 修復異常 boot 狀態。</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">發現新版本</string>
|
||||
<string name="update_redirect_to_release">點擊下載最新版本</string>
|
||||
<string name="update_changelog">更新日誌</string>
|
||||
<string name="update_install">安裝</string>
|
||||
<string name="update_reboot">重啟</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">搜索</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">保存</string>
|
||||
<string name="functional_button_uninstall_webui">卸載 WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">加載中...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">刷新</string>
|
||||
<string name="menu_select_all">全選</string>
|
||||
<string name="menu_deselect_all">取消全選</string>
|
||||
<string name="menu_select_denylist">從排除列表中選擇</string>
|
||||
<string name="menu_deselect_unnecessary">取消選擇非必要應用</string>
|
||||
<string name="menu_add_system_app">添加系統應用</string>
|
||||
<string name="menu_set_aosp_keybox">設置 AOSP 密鑰</string>
|
||||
<string name="menu_set_unknown_keybox">設置未知密鑰</string>
|
||||
<string name="menu_set_valid_keybox">設置有效密鑰</string>
|
||||
<string name="menu_set_custom_keybox">設置自定義密鑰</string>
|
||||
<string name="menu_set_verified_boot_hash">設置哈希值</string>
|
||||
<string name="menu_set_security_patch">設置安全補丁</string>
|
||||
<string name="menu_about">關於</string>
|
||||
<string name="menu_shortcut">建立主畫面捷徑</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">哈希值</string>
|
||||
<string name="boot_hash_input_placeholder">在此貼上您的哈希值</string>
|
||||
<string name="boot_hash_save_button">保存</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">TS 插件</string>
|
||||
<string name="about_module_name_line2">更新目標列表</string>
|
||||
<string name="about_by">作者:</string>
|
||||
<string name="about_telegram_channel">Telegram 頻道</string>
|
||||
<string name="about_canary_update">下載最新測試版</string>
|
||||
<string name="about_disclaimer">此 WebUI 並非 Tricky Store 的一部分,如遇任何問題請勿向 Tricky Store 作者反饋。</string>
|
||||
<string name="about_acknowledgment">特別鳴謝</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">請檢查您的網絡連接</string>
|
||||
<string name="prompt_aosp_key_set">成功設置 AOSP 密鑰</string>
|
||||
<string name="prompt_key_set_error">更新密鑰失敗</string>
|
||||
<string name="prompt_unknown_key_set">成功設置未知密鑰</string>
|
||||
<string name="prompt_valid_key_set">成功設置有效密鑰</string>
|
||||
<string name="prompt_no_valid">未找到有效密鑰。</string>
|
||||
<string name="prompt_boot_hash_set">哈希值重置成功</string>
|
||||
<string name="prompt_boot_hash_set_error">哈希值重置失敗</string>
|
||||
<string name="prompt_saved_target">成功保存配置</string>
|
||||
<string name="prompt_save_error">保存配置失敗</string>
|
||||
<string name="prompt_uninstall_prompt">WebUI 將在重啟後被移除</string>
|
||||
<string name="prompt_uninstall_failed">卸載 WebUI 失敗</string>
|
||||
<string name="prompt_checking_update">正在檢測更新...</string>
|
||||
<string name="prompt_new_update">發現新版本!</string>
|
||||
<string name="prompt_no_update">當前已是最新版本</string>
|
||||
<string name="prompt_downloading">正在下載...</string>
|
||||
<string name="prompt_downloaded">下載完成</string>
|
||||
<string name="prompt_download_fail">下載失敗</string>
|
||||
<string name="prompt_installing">正在安裝...</string>
|
||||
<string name="prompt_installed">安裝完成,重啟生效</string>
|
||||
<string name="prompt_install_fail">安裝失敗,請手動更新</string>
|
||||
<string name="prompt_rebooting">正在重啟...</string>
|
||||
<string name="prompt_reboot_fail">重啟失敗,請手動重啟</string>
|
||||
<string name="prompt_custom_key_set">成功設置自定義密鑰</string>
|
||||
<string name="prompt_custom_key_set_error">設置自定義密鑰失敗</string>
|
||||
<string name="prompt_no_file_selected">未選擇文件</string>
|
||||
<string name="prompt_system_app_not_found">未找到該系統應用</string>
|
||||
<string name="prompt_system_app_error">系統應用添加失敗</string>
|
||||
<string name="prompt_shortcut_created">主畫面捷徑已建立</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">安全補丁</string>
|
||||
<string name="security_patch_advanced_mode">進階</string>
|
||||
<string name="security_patch_get_date">獲取安全補丁日期</string>
|
||||
<string name="security_patch_auto">自動</string>
|
||||
<string name="security_patch_save">保存</string>
|
||||
<string name="security_patch_fetching">獲取中...</string>
|
||||
<string name="security_patch_fetched">完成</string>
|
||||
<string name="security_patch_get_failed">獲取安全補丁日期失敗</string>
|
||||
<string name="security_patch_unable_to_connect">無法連線至 source.android.com</string>
|
||||
<string name="security_patch_auto_success">自動配置成功啟用</string>
|
||||
<string name="security_patch_auto_failed">無法啟用自動配置</string>
|
||||
<string name="security_patch_save_success">安全補丁成功保存</string>
|
||||
<string name="security_patch_save_failed">保存安全補丁失敗</string>
|
||||
<string name="security_patch_value_empty">安全補丁配置已禁用</string>
|
||||
<string name="security_patch_invalid_all">無效格式</string>
|
||||
<string name="security_patch_invalid_boot">無效 boot 格式</string>
|
||||
<string name="security_patch_invalid_system">無效 system 格式</string>
|
||||
<string name="security_patch_invalid_vendor">無效 vendor 格式</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">添加系統應用</string>
|
||||
<string name="add_system_app_add">添加</string>
|
||||
<string name="add_system_app_current_list">當前系統應用列表</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">確認卸載?</string>
|
||||
<string name="confirmation_uninstall_message">您確定要卸載 TS 插件嗎</string>
|
||||
<string name="confirmation_uninstall_cancel">取消</string>
|
||||
<string name="confirmation_uninstall_confirm">確認</string>
|
||||
</resources>
|
||||
127
module/webui/locales/template.xml
Normal file
127
module/webui/locales/template.xml
Normal file
@@ -0,0 +1,127 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="system_default">System Default</string>
|
||||
<string name="more_language">More</string>
|
||||
<!-- Header -->
|
||||
<string name="header_title">Tricky Addon</string>
|
||||
<!-- Help Menu-->
|
||||
<string name="help_help_instructions">Instructions</string>
|
||||
<string name="help_save_and_update">Save</string>
|
||||
<string name="help_save_and_update_description">Save current configure to target.txt.</string>
|
||||
<string name="help_refresh">Refresh</string>
|
||||
<string name="help_refresh_description">Refresh app list and exclude list.</string>
|
||||
<string name="help_select_deselect">Select & Deselect All</string>
|
||||
<string name="help_select_description">Select or deselect all apps in the current interface.</string>
|
||||
<string name="help_select_denylist">Select From DenyList</string>
|
||||
<string name="help_select_denylist_description">Available in Magisk only, select apps that are in the DenyList. Recommended.</string>
|
||||
<string name="help_deselect_unnecessary">Deselect Unnecessary</string>
|
||||
<string name="help_deselect_unnecessary_description">Unnecessary category: Xposed module, root manager, root-related apps, and general apps that never check bootloader status. This option requires Internet connection.</string>
|
||||
<string name="help_add_system_app">Add System App</string>
|
||||
<string name="help_add_system_app_description">Add specific system app to app list.</string>
|
||||
<string name="help_set_keybox">Set AOSP & Valid Keybox</string>
|
||||
<string name="help_set_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.</string>
|
||||
<string name="help_set_custom_keybox">Set Custom Keybox</string>
|
||||
<string name="help_set_custom_keybox_description">Import keybox from your device storage. Only support xml file.</string>
|
||||
<string name="help_set_security_patch">Set Security Patch</string>
|
||||
<string name="help_set_security_patch_description">Set custom security patch spoof. Auto config will use security patch from PIF module. Leave blank and save to disable auto config.</string>
|
||||
<string name="help_set_verified_boot_hash">Set Verified Boot Hash</string>
|
||||
<string name="help_set_verified_boot_hash_description">Get verifiedBootHash value from Key Attestation Demo. Fix abnormal boot state by resetting ro.boot.vbmeta.digest.</string>
|
||||
<!-- Update -->
|
||||
<string name="update_update_available">A new version is ready</string>
|
||||
<string name="update_redirect_to_release">tap to download the latest version</string>
|
||||
<string name="update_changelog">Changelog</string>
|
||||
<string name="update_install">Install</string>
|
||||
<string name="update_reboot">Reboot</string>
|
||||
<!-- Search -->
|
||||
<string name="search_bar_search_placeholder">Search</string>
|
||||
<!-- Functional Button -->
|
||||
<string name="functional_button_save_and_update_button">Save</string>
|
||||
<string name="functional_button_uninstall_webui">Uninstall WebUI</string>
|
||||
<!-- Loading -->
|
||||
<string name="loading_loading">Loading...</string>
|
||||
<!-- Menu -->
|
||||
<string name="menu_refresh">Refresh</string>
|
||||
<string name="menu_select_all">Select All</string>
|
||||
<string name="menu_deselect_all">Deselect All</string>
|
||||
<string name="menu_select_denylist">Select From DenyList</string>
|
||||
<string name="menu_deselect_unnecessary">Deselect Unnecessary</string>
|
||||
<string name="menu_add_system_app">Add System App</string>
|
||||
<string name="menu_set_aosp_keybox">Set AOSP Keybox</string>
|
||||
<string name="menu_set_unknown_keybox">Set Unknown Keybox</string>
|
||||
<string name="menu_set_valid_keybox">Set Valid Keybox</string>
|
||||
<string name="menu_set_custom_keybox">Set Custom Keybox</string>
|
||||
<string name="menu_set_verified_boot_hash">Set Verified Boot Hash</string>
|
||||
<string name="menu_set_security_patch">Set Security Patch</string>
|
||||
<string name="menu_about">About</string>
|
||||
<string name="menu_shortcut">Create home screen shortcut</string>
|
||||
<!-- Boot Hash -->
|
||||
<string name="boot_hash_title">Boot Hash</string>
|
||||
<string name="boot_hash_input_placeholder">Paste your verified Boot Hash here</string>
|
||||
<string name="boot_hash_save_button">Save</string>
|
||||
<!-- About -->
|
||||
<string name="about_module_name_line1">Tricky Addon</string>
|
||||
<string name="about_module_name_line2">Update Target List</string>
|
||||
<string name="about_by">by</string>
|
||||
<string name="about_telegram_channel">Telegram Channel</string>
|
||||
<string name="about_canary_update">Update to latest canary version</string>
|
||||
<string name="about_disclaimer">This module is not a part of the Tricky Store module. DO NOT report any issues to Tricky Store if encountered.</string>
|
||||
<string name="about_acknowledgment">Acknowledgment</string>
|
||||
<!-- Prompt -->
|
||||
<string name="prompt_no_internet">Please check your Internet connection</string>
|
||||
<string name="prompt_aosp_key_set">AOSP keybox set successfully</string>
|
||||
<string name="prompt_key_set_error">Failed to update keybox</string>
|
||||
<string name="prompt_unknown_key_set">Unknown keybox set successfully</string>
|
||||
<string name="prompt_valid_key_set">Valid keybox set successfully</string>
|
||||
<string name="prompt_no_valid">No valid keybox found.</string>
|
||||
<string name="prompt_boot_hash_set">Verified Boot Hash saved successfully</string>
|
||||
<string name="prompt_boot_hash_set_error">Failed to update Verified Boot Hash</string>
|
||||
<string name="prompt_saved_target">Config saved to target.txt</string>
|
||||
<string name="prompt_save_error">Failed to save config</string>
|
||||
<string name="prompt_uninstall_prompt">WebUI will be removed after reboot</string>
|
||||
<string name="prompt_uninstall_failed">Failed to uninstall WebUI</string>
|
||||
<string name="prompt_checking_update">Checking udpate...</string>
|
||||
<string name="prompt_new_update">A new update is available!</string>
|
||||
<string name="prompt_no_update">There are currently no updates available</string>
|
||||
<string name="prompt_downloading">Downloading new update...</string>
|
||||
<string name="prompt_downloaded">Download completed</string>
|
||||
<string name="prompt_download_fail">Fail to download update</string>
|
||||
<string name="prompt_installing">Installing update...</string>
|
||||
<string name="prompt_installed">Installed successfully, reboot now.</string>
|
||||
<string name="prompt_install_fail">Fail to install, please update manually</string>
|
||||
<string name="prompt_rebooting">Rebooting...</string>
|
||||
<string name="prompt_reboot_fail">Fail to reboot, please reboot manually</string>
|
||||
<string name="prompt_custom_key_set">Custom keybox set successfully</string>
|
||||
<string name="prompt_custom_key_set_error">Failed to set custom keybox</string>
|
||||
<string name="prompt_no_file_selected">No file selected</string>
|
||||
<string name="prompt_system_app_not_found">System app not found</string>
|
||||
<string name="prompt_system_app_error">Failed to add system app</string>
|
||||
<string name="prompt_shortcut_created">Home screen shortcut created</string>
|
||||
<!-- Security Patch -->
|
||||
<string name="security_patch_title">Security Patch</string>
|
||||
<string name="security_patch_advanced_mode">Advanced</string>
|
||||
<string name="security_patch_get_date">Get Security Patch Date</string>
|
||||
<string name="security_patch_auto">Auto</string>
|
||||
<string name="security_patch_save">Save</string>
|
||||
<string name="security_patch_fetching">Fetching...</string>
|
||||
<string name="security_patch_fetched">Done</string>
|
||||
<string name="security_patch_get_failed">Failed to fetch security patch date</string>
|
||||
<string name="security_patch_unable_to_connect">Unable to connect to source.android.com</string>
|
||||
<string name="security_patch_auto_success">Auto config enabled successfully</string>
|
||||
<string name="security_patch_auto_failed">Failed to enable auto config</string>
|
||||
<string name="security_patch_save_success">Security patch saved successfully</string>
|
||||
<string name="security_patch_save_failed">Failed to save security patch</string>
|
||||
<string name="security_patch_value_empty">Security patch configuration is disabled</string>
|
||||
<string name="security_patch_invalid_all">Invalid format</string>
|
||||
<string name="security_patch_invalid_boot">Invalid boot format</string>
|
||||
<string name="security_patch_invalid_system">Invalid system format</string>
|
||||
<string name="security_patch_invalid_vendor">Invalid vendor format</string>
|
||||
<!-- Add System App -->
|
||||
<string name="add_system_app_title">Add System App</string>
|
||||
<string name="add_system_app_add">Add</string>
|
||||
<string name="add_system_app_current_list">Current System App List</string>
|
||||
<!-- Uninstall confirmation -->
|
||||
<string name="confirmation_uninstall_title">Confirm Uninstall?</string>
|
||||
<string name="confirmation_uninstall_message">Are you sure you want to uninstall Tricky Addon</string>
|
||||
<string name="confirmation_uninstall_cancel">Cancel</string>
|
||||
<string name="confirmation_uninstall_confirm">Confirm</string>
|
||||
</resources>
|
||||
128
module/webui/scripts/about.js
Normal file
128
module/webui/scripts/about.js
Normal file
@@ -0,0 +1,128 @@
|
||||
import { linkRedirect, basePath, showPrompt } from './main.js';
|
||||
import { translations } from './language.js';
|
||||
import { spawn, toast } from './assets/kernelsu.js';
|
||||
|
||||
const aboutOverlay = document.getElementById('about-overlay');
|
||||
const aboutContent = document.querySelector('.about-menu');
|
||||
const closeAbout = document.getElementById('close-about');
|
||||
|
||||
let isDownloading = false;
|
||||
|
||||
// Function to show about overlay
|
||||
document.getElementById("about").addEventListener("click", () => {
|
||||
// Show about menu
|
||||
setTimeout(() => {
|
||||
document.body.classList.add("no-scroll");
|
||||
aboutOverlay.style.display = 'flex';
|
||||
setTimeout(() => {
|
||||
aboutOverlay.style.opacity = '1';
|
||||
aboutContent.classList.add('open');
|
||||
}, 10);
|
||||
}, 80);
|
||||
});
|
||||
|
||||
const hideMenu = () => {
|
||||
document.body.classList.remove("no-scroll");
|
||||
aboutOverlay.style.opacity = '0';
|
||||
aboutContent.classList.remove('open');
|
||||
setTimeout(() => {
|
||||
aboutOverlay.style.display = 'none';
|
||||
}, 200);
|
||||
};
|
||||
|
||||
closeAbout.addEventListener("click", hideMenu);
|
||||
aboutOverlay.addEventListener('click', (event) => {
|
||||
if (event.target === aboutOverlay) hideMenu();
|
||||
});
|
||||
|
||||
// Event listener for link redirect
|
||||
document.getElementById('telegram').addEventListener('click', () => {
|
||||
linkRedirect('https://t.me/kowchannel');
|
||||
});
|
||||
document.getElementById('github').addEventListener('click', () => {
|
||||
linkRedirect('https://github.com/KOWX712/Tricky-Addon-Update-Target-List');
|
||||
});
|
||||
|
||||
// Update to latest canary verison
|
||||
document.getElementById('canary').addEventListener('click', () => {
|
||||
if (isDownloading) return;
|
||||
isDownloading = true;
|
||||
|
||||
showPrompt("prompt_checking_update", true, 10000);
|
||||
let htmlContent = '';
|
||||
const link = "https://nightly.link/KOWX712/Tricky-Addon-Update-Target-List/workflows/build/main?preview"
|
||||
const output = spawn('sh', [`${basePath}/common/get_extra.sh`, '--download', `${link}`],
|
||||
{ env: { PATH: "$PATH:/data/adb/ap/bin:/data/adb/ksu/bin:/data/adb/magisk" } });
|
||||
output.stdout.on('data', (data) => {
|
||||
htmlContent += data;
|
||||
});
|
||||
output.on('exit', async (code) => {
|
||||
if (code === 0) {
|
||||
const parser = new DOMParser();
|
||||
const doc = parser.parseFromString(htmlContent, "text/html");
|
||||
const zipURL = doc.querySelector('a[href$=".zip"]')?.href;
|
||||
|
||||
if (zipURL) {
|
||||
// Extract versionCode
|
||||
const parts = zipURL.split("-");
|
||||
const version = parts.length >= 2 ? parts[parts.length - 2] : null;
|
||||
|
||||
// Check local version
|
||||
const output = spawn('sh', [`${basePath}/common/get_extra.sh`, '--check-update', `${version}`], { env: { CANARY: "true" } });
|
||||
output.on('exit', (code) => {
|
||||
if (code === 0) {
|
||||
showPrompt("prompt_no_update");
|
||||
isDownloading = false;
|
||||
} else if (code === 1) {
|
||||
downloadUpdate(zipURL);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
console.error("No link found.");
|
||||
}
|
||||
} else {
|
||||
console.error("Error fetching ZIP link");
|
||||
isDownloading = false;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* Funtion to download update
|
||||
* @param {string} link - link of file to download
|
||||
* @returns {void}
|
||||
*/
|
||||
function downloadUpdate(link) {
|
||||
showPrompt("prompt_downloading", true, 20000);
|
||||
const download = spawn('sh', [`${basePath}/common/get_extra.sh`, '--get-update', `${link}`],
|
||||
{ env: { PATH: "$PATH:/data/adb/ap/bin:/data/adb/ksu/bin:/data/adb/magisk:/data/data/com.termux/files/usr/bin" } });
|
||||
download.on('exit', (code) => {
|
||||
if (code === 0) {
|
||||
installUpdate();
|
||||
} else {
|
||||
showPrompt("prompt_download_fail", false);
|
||||
isDownloading = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Funtion to install update
|
||||
* @returns {void}
|
||||
*/
|
||||
function installUpdate() {
|
||||
showPrompt("prompt_installing");
|
||||
const output = spawn('sh', [`${basePath}/common/get_extra.sh`, '--install-update'],
|
||||
{ env: { PATH: "$PATH:/data/adb/ap/bin:/data/adb/ksu/bin:/data/adb/magisk" } });
|
||||
output.stderr.on('data', (data) => {
|
||||
console.error('Error during installation:', data);
|
||||
});
|
||||
output.on('exit', (code) => {
|
||||
if (code === 0) {
|
||||
showPrompt("prompt_installed");
|
||||
} else {
|
||||
showPrompt("prompt_install_fail", false);
|
||||
}
|
||||
isDownloading = false;
|
||||
});
|
||||
}
|
||||
363
module/webui/scripts/applist.js
Normal file
363
module/webui/scripts/applist.js
Normal file
@@ -0,0 +1,363 @@
|
||||
import { exec, spawn, toast } from './assets/kernelsu.js';
|
||||
import { basePath, loadingIndicator, hideFloatingBtn, appsWithExclamation, appsWithQuestion, applyRippleEffect } from './main.js';
|
||||
|
||||
const appTemplate = document.getElementById('app-template').content;
|
||||
const modeOverlay = document.querySelector('.mode-overlay');
|
||||
export const appListContainer = document.getElementById('apps-list');
|
||||
export const updateCard = document.getElementById('update-card');
|
||||
|
||||
let targetList = [];
|
||||
let wrapInputStream;
|
||||
|
||||
if (typeof $packageManager !== 'undefined') {
|
||||
import("https://mui.kernelsu.org/internal/assets/ext/wrapInputStream.mjs")
|
||||
.then(module => {
|
||||
wrapInputStream = module.wrapInputStream;
|
||||
})
|
||||
.catch(err => {
|
||||
console.error("Failed to load wrapInputStream:", err);
|
||||
});
|
||||
}
|
||||
|
||||
// Fetch and render applist
|
||||
export async function fetchAppList() {
|
||||
// fetch target list
|
||||
await exec('cat /data/adb/tricky_store/target.txt')
|
||||
.then(({ errno, stdout }) => {
|
||||
if (errno === 0) {
|
||||
targetList = processTargetList(stdout);
|
||||
} else {
|
||||
toast("Failed to read target.txt!");
|
||||
}
|
||||
});
|
||||
|
||||
// Fetch cached applist
|
||||
const response = await fetch('applist.json');
|
||||
const appList = await response.json();
|
||||
const appNameMap = appList.reduce((map, app) => {
|
||||
map[app.package_name] = app.app_name;
|
||||
return map;
|
||||
}, {});
|
||||
|
||||
// Get installed packages
|
||||
let appEntries = [], installedPackages = [];
|
||||
const output = spawn('sh', [`${basePath}/common/get_extra.sh`, '--applist']);
|
||||
output.stdout.on('data', (data) => {
|
||||
if (data.trim() === "") return;
|
||||
installedPackages.push(data);
|
||||
});
|
||||
output.on('exit', async () => {
|
||||
// Create appEntries array contain { appName, packageName }
|
||||
appEntries = await Promise.all(installedPackages.map(async (packageName) => {
|
||||
if (appNameMap[packageName]) {
|
||||
return {
|
||||
appName: appNameMap[packageName],
|
||||
packageName
|
||||
};
|
||||
}
|
||||
if (typeof $packageManager !== 'undefined') {
|
||||
const info = $packageManager.getApplicationInfo(packageName, 0, 0);
|
||||
return {
|
||||
appName: info.getLabel(),
|
||||
packageName
|
||||
};
|
||||
}
|
||||
return new Promise((resolve) => {
|
||||
const output = spawn('sh', [`${basePath}/common/get_extra.sh`, '--appname', packageName],
|
||||
{ env: { PATH: `$PATH:${basePath}/common:/data/data/com.termux/files/usr/bin` } });
|
||||
output.stdout.on('data', (data) => {
|
||||
resolve({
|
||||
appName: data,
|
||||
packageName
|
||||
});
|
||||
});
|
||||
});
|
||||
}));
|
||||
renderAppList(appEntries);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Render processed app list to the UI
|
||||
* @param {Array} data - Array of objects containing appName and packageName
|
||||
* @returns {void}
|
||||
*/
|
||||
function renderAppList(data) {
|
||||
// Sort
|
||||
const sortedApps = data.sort((a, b) => {
|
||||
const aChecked = targetList.includes(a.packageName);
|
||||
const bChecked = targetList.includes(b.packageName);
|
||||
if (aChecked !== bChecked) {
|
||||
return aChecked ? -1 : 1;
|
||||
}
|
||||
return (a.appName || "").localeCompare(b.appName || "");
|
||||
});
|
||||
|
||||
// Clear container
|
||||
appListContainer.innerHTML = "";
|
||||
loadingIndicator.style.display = "none";
|
||||
hideFloatingBtn(false);
|
||||
if (updateCard) appListContainer.appendChild(updateCard);
|
||||
|
||||
// Append app
|
||||
const appendApps = (index) => {
|
||||
if (index >= sortedApps.length) {
|
||||
document.querySelector('.uninstall-container').classList.remove('hidden-uninstall');
|
||||
toggleableCheckbox();
|
||||
setupRadioButtonListeners();
|
||||
setupModeMenu();
|
||||
updateCheckboxColor();
|
||||
applyRippleEffect();
|
||||
if (typeof $packageManager !== 'undefined') {
|
||||
setupIconIntersectionObserver();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
const { appName, packageName } = sortedApps[index];
|
||||
const appElement = document.importNode(appTemplate, true);
|
||||
const contentElement = appElement.querySelector(".content");
|
||||
contentElement.setAttribute("data-package", packageName);
|
||||
|
||||
// Set unique names for radio button groups
|
||||
const radioButtons = appElement.querySelectorAll('input[type="radio"]');
|
||||
radioButtons.forEach((radio) => {
|
||||
radio.name = `mode-radio-${packageName}`;
|
||||
});
|
||||
|
||||
// Preselect the radio button based on the package name
|
||||
const generateRadio = appElement.querySelector('#generate-mode');
|
||||
const hackRadio = appElement.querySelector('#hack-mode');
|
||||
const normalRadio = appElement.querySelector('#normal-mode');
|
||||
|
||||
if (appsWithExclamation.includes(packageName)) {
|
||||
generateRadio.checked = true;
|
||||
} else if (appsWithQuestion.includes(packageName)) {
|
||||
hackRadio.checked = true;
|
||||
} else {
|
||||
normalRadio.checked = true;
|
||||
}
|
||||
|
||||
const nameElement = appElement.querySelector(".name");
|
||||
nameElement.innerHTML = `
|
||||
<div class="app-icon-container" style="display:${typeof $packageManager !== 'undefined' ? 'flex' : 'none'};">
|
||||
<div class="loader" data-package="${packageName}"></div>
|
||||
<img src="" class="app-icon" data-package="${packageName}" />
|
||||
</div>
|
||||
<div class="app-info">
|
||||
<div class="app-name"><strong>${appName}</strong></div>
|
||||
<div class="package-name">${packageName}</div>
|
||||
</div>
|
||||
`;
|
||||
const checkbox = appElement.querySelector(".checkbox");
|
||||
checkbox.checked = targetList.includes(packageName);
|
||||
appListContainer.appendChild(appElement);
|
||||
appendApps(index + 1);
|
||||
};
|
||||
|
||||
appendApps(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets up an IntersectionObserver to load app icons when they enter the viewport
|
||||
*/
|
||||
function setupIconIntersectionObserver() {
|
||||
const observer = new IntersectionObserver((entries) => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
const container = entry.target;
|
||||
const packageName = container.querySelector('.app-icon').getAttribute('data-package');
|
||||
if (packageName) {
|
||||
loadIcons(packageName);
|
||||
observer.unobserve(container);
|
||||
}
|
||||
}
|
||||
});
|
||||
}, {
|
||||
rootMargin: '100px',
|
||||
threshold: 0.1
|
||||
});
|
||||
|
||||
const iconContainers = document.querySelectorAll('.app-icon-container');
|
||||
iconContainers.forEach(container => {
|
||||
observer.observe(container);
|
||||
});
|
||||
}
|
||||
|
||||
const iconCache = new Map();
|
||||
|
||||
/**
|
||||
* Load all app icons asynchronously after UI is rendered
|
||||
* @param {Array<string>} packageName - package names to load icons for
|
||||
*/
|
||||
function loadIcons(packageName) {
|
||||
const imgElement = document.querySelector(`.app-icon[data-package="${packageName}"]`);
|
||||
const loader = document.querySelector(`.loader[data-package="${packageName}"]`);
|
||||
|
||||
if (iconCache.has(packageName)) {
|
||||
imgElement.src = iconCache.get(packageName);
|
||||
loader.style.display = 'none';
|
||||
imgElement.style.opacity = '1';
|
||||
} else {
|
||||
const stream = $packageManager.getApplicationIcon(packageName, 0, 0);
|
||||
wrapInputStream(stream)
|
||||
.then(r => r.arrayBuffer())
|
||||
.then(buffer => {
|
||||
const base64 = 'data:image/png;base64,' + arrayBufferToBase64(buffer);
|
||||
iconCache.set(packageName, base64);
|
||||
imgElement.src = base64;
|
||||
loader.style.display = 'none';
|
||||
imgElement.style.opacity = '1';
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* convert array buffer to base 64
|
||||
* @param {string} buffer
|
||||
* @returns {string}
|
||||
*/
|
||||
function arrayBufferToBase64(buffer) {
|
||||
const uint8Array = new Uint8Array(buffer);
|
||||
let binary = '';
|
||||
uint8Array.forEach(byte => binary += String.fromCharCode(byte));
|
||||
return btoa(binary);
|
||||
}
|
||||
|
||||
// Function to save app with ! and ? then process target list
|
||||
function processTargetList(targetFileContent) {
|
||||
appsWithExclamation.length = 0;
|
||||
appsWithQuestion.length = 0;
|
||||
const targetList = targetFileContent
|
||||
.split("\n")
|
||||
.map(app => {
|
||||
const trimmedApp = app.trim();
|
||||
if (trimmedApp.endsWith('!')) {
|
||||
appsWithExclamation.push(trimmedApp.slice(0, -1));
|
||||
} else if (trimmedApp.endsWith('?')) {
|
||||
appsWithQuestion.push(trimmedApp.slice(0, -1));
|
||||
}
|
||||
return trimmedApp.replace(/[!?]/g, '');
|
||||
})
|
||||
.filter(app => app.trim() !== '');
|
||||
return targetList;
|
||||
}
|
||||
|
||||
// Make checkboxes toggleable
|
||||
function toggleableCheckbox() {
|
||||
const appElements = appListContainer.querySelectorAll(".card");
|
||||
appElements.forEach(card => {
|
||||
const content = card.querySelector(".content");
|
||||
const checkbox = content.querySelector(".checkbox");
|
||||
content.addEventListener("click", (event) => {
|
||||
checkbox.checked = !checkbox.checked;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// Add eventlistener to mode button
|
||||
function setupRadioButtonListeners() {
|
||||
const radioButtons = appListContainer.querySelectorAll('input[type="radio"]');
|
||||
radioButtons.forEach((radioButton) => {
|
||||
radioButton.addEventListener('change', (event) => {
|
||||
const card = radioButton.closest(".card");
|
||||
const packageName = card.querySelector(".content").getAttribute("data-package");
|
||||
if (radioButton.id === 'generate-mode') {
|
||||
if (!appsWithExclamation.includes(packageName)) {
|
||||
appsWithExclamation.push(packageName);
|
||||
}
|
||||
const indexInQuestion = appsWithQuestion.indexOf(packageName);
|
||||
if (indexInQuestion > -1) {
|
||||
appsWithQuestion.splice(indexInQuestion, 1);
|
||||
}
|
||||
} else if (radioButton.id === 'hack-mode') {
|
||||
if (!appsWithQuestion.includes(packageName)) {
|
||||
appsWithQuestion.push(packageName);
|
||||
}
|
||||
const indexInExclamation = appsWithExclamation.indexOf(packageName);
|
||||
if (indexInExclamation > -1) {
|
||||
appsWithExclamation.splice(indexInExclamation, 1);
|
||||
}
|
||||
} else if (radioButton.id === 'normal-mode') {
|
||||
const indexInExclamation = appsWithExclamation.indexOf(packageName);
|
||||
if (indexInExclamation > -1) {
|
||||
appsWithExclamation.splice(indexInExclamation, 1);
|
||||
}
|
||||
const indexInQuestion = appsWithQuestion.indexOf(packageName);
|
||||
if (indexInQuestion > -1) {
|
||||
appsWithQuestion.splice(indexInQuestion, 1);
|
||||
}
|
||||
}
|
||||
updateCheckboxColor();
|
||||
console.log("Updated appsWithExclamation:", appsWithExclamation);
|
||||
console.log("Updated appsWithQuestion:", appsWithQuestion);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// Hold to open menu
|
||||
function setupModeMenu() {
|
||||
let holdTimeout;
|
||||
function showMode(card) {
|
||||
const modeElement = card.querySelector(".mode");
|
||||
if (modeElement) {
|
||||
modeElement.style.display = "flex";
|
||||
modeOverlay.style.display = "flex";
|
||||
setTimeout(() => {
|
||||
modeElement.classList.add('show');
|
||||
}, 10);
|
||||
}
|
||||
}
|
||||
function hideAllModes() {
|
||||
const allModeElements = appListContainer.querySelectorAll(".mode");
|
||||
allModeElements.forEach((modeElement) => {
|
||||
modeElement.classList.remove('show');
|
||||
modeOverlay.style.display = "none";
|
||||
setTimeout(() => {
|
||||
modeElement.style.display = "none";
|
||||
}, 200);
|
||||
});
|
||||
}
|
||||
|
||||
const cards = appListContainer.querySelectorAll(".card");
|
||||
cards.forEach((card) => {
|
||||
card.addEventListener("pointerdown", () => {
|
||||
const checkbox = card.querySelector(".checkbox");
|
||||
if (checkbox && checkbox.checked) {
|
||||
holdTimeout = setTimeout(() => {
|
||||
showMode(card);
|
||||
}, 500);
|
||||
}
|
||||
});
|
||||
card.addEventListener("pointerup", () => clearTimeout(holdTimeout));
|
||||
card.addEventListener("pointercancel", () => clearTimeout(holdTimeout));
|
||||
});
|
||||
|
||||
document.addEventListener("click", (event) => {
|
||||
if (!event.target.closest(".mode") || modeOverlay.contains(event.target)) {
|
||||
hideAllModes();
|
||||
} else if (event.target.closest(".status-indicator")) {
|
||||
setTimeout(() => {
|
||||
hideAllModes();
|
||||
}, 300);
|
||||
}
|
||||
});
|
||||
window.addEventListener("scroll", hideAllModes);
|
||||
}
|
||||
|
||||
// Function to update card borders color
|
||||
function updateCheckboxColor() {
|
||||
const cards = appListContainer.querySelectorAll(".card");
|
||||
cards.forEach((card) => {
|
||||
const packageName = card.querySelector(".content").getAttribute("data-package");
|
||||
const checkbox = card.querySelector(".checkbox");
|
||||
checkbox.classList.remove("checkbox-checked-generate", "checkbox-checked-hack");
|
||||
if (appsWithExclamation.includes(packageName)) {
|
||||
checkbox.classList.add("checkbox-checked-generate");
|
||||
} else if (appsWithQuestion.includes(packageName)) {
|
||||
checkbox.classList.add("checkbox-checked-hack");
|
||||
} else if (checkbox.checked) {
|
||||
checkbox.classList.remove("checkbox-checked-generate", "checkbox-checked-hack");
|
||||
}
|
||||
});
|
||||
}
|
||||
118
module/webui/scripts/assets/kernelsu.js
Normal file
118
module/webui/scripts/assets/kernelsu.js
Normal file
@@ -0,0 +1,118 @@
|
||||
/**
|
||||
* Imported from https://www.npmjs.com/package/kernelsu
|
||||
* Slightly modified version by KOWX712
|
||||
* Added full description
|
||||
* Simplified spawn function
|
||||
* Handle error on toast
|
||||
*/
|
||||
|
||||
let callbackCounter = 0;
|
||||
function getUniqueCallbackName(prefix) {
|
||||
return `${prefix}_callback_${Date.now()}_${callbackCounter++}`;
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute shell command with ksu.exec
|
||||
* @param {string} command - The command to execute
|
||||
* @param {Object} [options={}] - Options object containing:
|
||||
* - cwd <string> - Current working directory of the child process
|
||||
* - env {Object} - Environment key-value pairs
|
||||
* @returns {Promise<Object>} Resolves with:
|
||||
* - errno {number} - Exit code of the command
|
||||
* - stdout {string} - Standard output from the command
|
||||
* - stderr {string} - Standard error from the command
|
||||
*/
|
||||
export function exec(command, options = {}) {
|
||||
return new Promise((resolve, reject) => {
|
||||
const callbackFuncName = getUniqueCallbackName("exec");
|
||||
window[callbackFuncName] = (errno, stdout, stderr) => {
|
||||
resolve({ errno, stdout, stderr });
|
||||
cleanup(callbackFuncName);
|
||||
};
|
||||
function cleanup(successName) {
|
||||
delete window[successName];
|
||||
}
|
||||
try {
|
||||
ksu.exec(command, JSON.stringify(options), callbackFuncName);
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
cleanup(callbackFuncName);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Standard I/O stream for a child process.
|
||||
* @class
|
||||
*/
|
||||
class Stdio {
|
||||
constructor() {
|
||||
this.listeners = {};
|
||||
}
|
||||
on(event, listener) {
|
||||
if (!this.listeners[event]) {
|
||||
this.listeners[event] = [];
|
||||
}
|
||||
this.listeners[event].push(listener);
|
||||
}
|
||||
emit(event, ...args) {
|
||||
if (this.listeners[event]) {
|
||||
this.listeners[event].forEach(listener => listener(...args));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Spawn shell process with ksu.spawn
|
||||
* @param {string} command - The command to execute
|
||||
* @param {string[]} [args=[]] - Array of arguments to pass to the command
|
||||
* @param {Object} [options={}] - Options object containing:
|
||||
* - cwd <string> - Current working directory of the child process
|
||||
* - env {Object} - Environment key-value pairs
|
||||
* @returns {Object} A child process object with:
|
||||
* - stdout: Stream for standard output
|
||||
* - stderr: Stream for standard error
|
||||
* - stdin: Stream for standard input
|
||||
* - on(event, listener): Attach event listener ('exit', 'error')
|
||||
* - emit(event, ...args): Emit events internally
|
||||
*/
|
||||
export function spawn(command, args = [], options = {}) {
|
||||
const child = {
|
||||
listeners: {},
|
||||
stdout: new Stdio(),
|
||||
stderr: new Stdio(),
|
||||
stdin: new Stdio(),
|
||||
on(event, listener) {
|
||||
if (!this.listeners[event]) this.listeners[event] = [];
|
||||
this.listeners[event].push(listener);
|
||||
},
|
||||
emit(event, ...args) {
|
||||
if (this.listeners[event]) {
|
||||
this.listeners[event].forEach(listener => listener(...args));
|
||||
}
|
||||
}
|
||||
};
|
||||
const callbackName = getUniqueCallbackName("spawn");
|
||||
window[callbackName] = child;
|
||||
child.on("exit", () => delete window[callbackName]);
|
||||
try {
|
||||
ksu.spawn(command, JSON.stringify(args), JSON.stringify(options), callbackName);
|
||||
} catch (error) {
|
||||
child.emit("error", error);
|
||||
delete window[callbackName];
|
||||
}
|
||||
return child;
|
||||
}
|
||||
|
||||
/**
|
||||
* Show android toast message
|
||||
* @param {string} message - The message to display in toast
|
||||
* @returns {void}
|
||||
*/
|
||||
export function toast(message) {
|
||||
try {
|
||||
ksu.toast(message);
|
||||
} catch (error) {
|
||||
console.error("Error displaying toast:", error);
|
||||
}
|
||||
}
|
||||
69
module/webui/scripts/assets/marked.min.js
vendored
Normal file
69
module/webui/scripts/assets/marked.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
68
module/webui/scripts/boot_hash.js
Normal file
68
module/webui/scripts/boot_hash.js
Normal file
@@ -0,0 +1,68 @@
|
||||
import { exec } from './assets/kernelsu.js';
|
||||
import { showPrompt } from './main.js';
|
||||
|
||||
const bootHashOverlay = document.getElementById('boot-hash-overlay');
|
||||
const bootHash = document.querySelector('.boot-hash-card');
|
||||
const inputBox = document.getElementById('boot-hash-input');
|
||||
const saveButton = document.getElementById('boot-hash-save-button');
|
||||
|
||||
// Remove empty spaces from input and convert to lowercase
|
||||
window.trimInput = (input) => {
|
||||
input.value = input.value.replace(/\s+/g, '').toLowerCase();
|
||||
};
|
||||
|
||||
// Function to handle Verified Boot Hash
|
||||
document.getElementById("boot-hash").addEventListener("click", async () => {
|
||||
// Display boot hash menu
|
||||
document.body.classList.add("no-scroll");
|
||||
bootHashOverlay.style.display = "flex";
|
||||
setTimeout(() => {
|
||||
bootHashOverlay.style.opacity = 1;
|
||||
bootHash.classList.add('open');
|
||||
}, 10);
|
||||
|
||||
// read current boot hash
|
||||
exec(`sed '/^#/d; /^$/d' /data/adb/boot_hash`)
|
||||
.then(({ errno, stdout }) => {
|
||||
if (errno !== 0) {
|
||||
inputBox.value = "";
|
||||
} else {
|
||||
const validHash = stdout.trim();
|
||||
inputBox.value = validHash || "";
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
const closeBootHashMenu = () => {
|
||||
document.body.classList.remove("no-scroll");
|
||||
bootHashOverlay.style.opacity = 0;
|
||||
bootHash.classList.remove('open');
|
||||
setTimeout(() => {
|
||||
bootHashOverlay.style.display = "none";
|
||||
}, 200);
|
||||
};
|
||||
|
||||
// Save button listener
|
||||
saveButton.addEventListener("click", async () => {
|
||||
const inputValue = inputBox.value.trim();
|
||||
exec(`
|
||||
resetprop -n ro.boot.vbmeta.digest "${inputValue}"
|
||||
[ -z "${inputValue}" ] && rm -f /data/adb/boot_hash || {
|
||||
echo "${inputValue}" > /data/adb/boot_hash
|
||||
chmod 644 /data/adb/boot_hash
|
||||
}
|
||||
`, { env: { PATH: "/data/adb/ap/bin:/data/adb/ksu/bin:/data/adb/magisk:$PATH" } })
|
||||
.then(() => {
|
||||
showPrompt("prompt_boot_hash_set");
|
||||
closeBootHashMenu();
|
||||
});
|
||||
});
|
||||
|
||||
bootHashOverlay.addEventListener("click", (event) => {
|
||||
if (event.target === bootHashOverlay) closeBootHashMenu();
|
||||
});
|
||||
|
||||
// Enter to save
|
||||
inputBox.addEventListener('keydown', (e) => {
|
||||
if (e.key === 'Enter') saveButton.click();
|
||||
});
|
||||
31
module/webui/scripts/help.js
Normal file
31
module/webui/scripts/help.js
Normal file
@@ -0,0 +1,31 @@
|
||||
const helpButton = document.getElementById('help-button');
|
||||
const helpOverlay = document.getElementById('help-overlay');
|
||||
const helpContent = document.querySelector('.help-menu');
|
||||
const closeHelp = document.getElementById('close-help');
|
||||
|
||||
// Open help menu
|
||||
helpButton.addEventListener("click", () => {
|
||||
document.body.classList.add("no-scroll");
|
||||
helpOverlay.style.display = "flex";
|
||||
setTimeout(() => {
|
||||
helpOverlay.style.opacity = 1;
|
||||
helpContent.classList.add('open');
|
||||
}, 10);
|
||||
});
|
||||
|
||||
const hideHelpOverlay = () => {
|
||||
helpOverlay.style.opacity = 0;
|
||||
helpContent.classList.remove('open');
|
||||
document.body.classList.remove("no-scroll");
|
||||
setTimeout(() => {
|
||||
helpOverlay.style.display = "none";
|
||||
}, 200);
|
||||
};
|
||||
|
||||
// Close help menu
|
||||
closeHelp.addEventListener("click", hideHelpOverlay);
|
||||
helpOverlay.addEventListener("click", (event) => {
|
||||
if (event.target === helpOverlay) {
|
||||
hideHelpOverlay();
|
||||
}
|
||||
});
|
||||
201
module/webui/scripts/language.js
Normal file
201
module/webui/scripts/language.js
Normal file
@@ -0,0 +1,201 @@
|
||||
import { applyRippleEffect, linkRedirect } from './main.js';
|
||||
|
||||
const languageButton = document.querySelector('.language-button');
|
||||
const languageMenu = document.querySelector('.language-menu');
|
||||
const languageOptions = document.querySelectorAll('.language-option');
|
||||
const languageOverlay = document.getElementById('language-overlay');
|
||||
|
||||
export let translations = {};
|
||||
let baseTranslations = {};
|
||||
let availableLanguages = ['en'];
|
||||
let languageNames = {};
|
||||
|
||||
/**
|
||||
* Parse XML translation file into a JavaScript object
|
||||
* @param {string} xmlText - The XML content as string
|
||||
* @returns {Object} - Parsed translations
|
||||
*/
|
||||
function parseTranslationsXML(xmlText) {
|
||||
const parser = new DOMParser();
|
||||
const xmlDoc = parser.parseFromString(xmlText, 'text/xml');
|
||||
const strings = xmlDoc.getElementsByTagName('string');
|
||||
const translations = {};
|
||||
|
||||
for (let i = 0; i < strings.length; i++) {
|
||||
const string = strings[i];
|
||||
const name = string.getAttribute('name');
|
||||
const value = string.textContent;
|
||||
translations[name] = value;
|
||||
}
|
||||
|
||||
return translations;
|
||||
}
|
||||
|
||||
/**
|
||||
* Detect user's default language
|
||||
* @returns {Promise<string>} - Detected language code
|
||||
*/
|
||||
async function detectUserLanguage() {
|
||||
const userLang = navigator.language || navigator.userLanguage;
|
||||
const langCode = userLang.split('-')[0];
|
||||
|
||||
try {
|
||||
// Fetch available languages
|
||||
const availableResponse = await fetch('locales/languages.json');
|
||||
const availableData = await availableResponse.json();
|
||||
availableLanguages = Object.keys(availableData);
|
||||
languageNames = availableData;
|
||||
|
||||
// Fetch preferred language
|
||||
const prefered_language_code = localStorage.getItem('trickyAddonLanguage');
|
||||
|
||||
// Check if preferred language is valid
|
||||
if (prefered_language_code !== 'default' && availableLanguages.includes(prefered_language_code)) {
|
||||
return prefered_language_code;
|
||||
} else if (availableLanguages.includes(userLang)) {
|
||||
return userLang;
|
||||
} else if (availableLanguages.includes(langCode)) {
|
||||
return langCode;
|
||||
} else {
|
||||
localStorage.removeItem('trickyAddonLanguage');
|
||||
return 'en';
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Error detecting user language:', error);
|
||||
return 'en';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Load translations dynamically based on the selected language
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
export async function loadTranslations() {
|
||||
try {
|
||||
// load Englsih as base translations
|
||||
const baseResponse = await fetch('locales/strings/en.xml');
|
||||
const baseXML = await baseResponse.text();
|
||||
baseTranslations = parseTranslationsXML(baseXML);
|
||||
|
||||
// load user's language if available
|
||||
const lang = await detectUserLanguage();
|
||||
if (lang !== 'en') {
|
||||
const response = await fetch(`locales/strings/${lang}.xml`);
|
||||
const userXML = await response.text();
|
||||
const userTranslations = parseTranslationsXML(userXML);
|
||||
translations = { ...baseTranslations, ...userTranslations };
|
||||
} else {
|
||||
translations = baseTranslations;
|
||||
}
|
||||
|
||||
// Generate language menu
|
||||
await generateLanguageMenu();
|
||||
} catch (error) {
|
||||
console.error('Error loading translations:', error);
|
||||
translations = baseTranslations;
|
||||
}
|
||||
applyTranslations();
|
||||
applyRippleEffect();
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply translations to all elements with data-i18n attributes
|
||||
* @returns {void}
|
||||
*/
|
||||
function applyTranslations() {
|
||||
document.querySelectorAll("[data-i18n]").forEach((el) => {
|
||||
const key = el.getAttribute("data-i18n");
|
||||
const translation = translations[key];
|
||||
if (translation) {
|
||||
if (el.hasAttribute("placeholder")) {
|
||||
el.setAttribute("placeholder", translation);
|
||||
} else {
|
||||
el.textContent = translation;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Function to setup the language menu
|
||||
* @returns {void}
|
||||
*/
|
||||
export function setupLanguageMenu() {
|
||||
languageButton.addEventListener("click", (event) => {
|
||||
event.stopPropagation();
|
||||
const isVisible = languageMenu.classList.contains("show");
|
||||
if (isVisible) {
|
||||
closeLanguageMenu();
|
||||
} else {
|
||||
languageOverlay.style.display = 'flex';
|
||||
setTimeout(() => languageMenu.classList.add("show"), 10);
|
||||
}
|
||||
});
|
||||
document.addEventListener("click", (event) => {
|
||||
if (!languageButton.contains(event.target) && !languageMenu.contains(event.target)) {
|
||||
closeLanguageMenu();
|
||||
}
|
||||
});
|
||||
languageOptions.forEach(option => {
|
||||
option.addEventListener("click", () => {
|
||||
closeLanguageMenu();
|
||||
});
|
||||
});
|
||||
window.addEventListener('scroll', () => {
|
||||
if (languageMenu.classList.contains("show")) {
|
||||
closeLanguageMenu();
|
||||
}
|
||||
});
|
||||
const closeLanguageMenu = () => {
|
||||
setTimeout(() => {
|
||||
languageMenu.classList.remove("show");
|
||||
languageOverlay.style.display = 'none';
|
||||
}, 80)
|
||||
}
|
||||
languageMenu.addEventListener("click", async (e) => {
|
||||
if (e.target.classList.contains("language-option")) {
|
||||
const lang = e.target.getAttribute("data-lang");
|
||||
localStorage.setItem('trickyAddonLanguage', lang);
|
||||
closeLanguageMenu();
|
||||
await new Promise(resolve => setTimeout(resolve, 200));
|
||||
loadTranslations();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate the language menu dynamically
|
||||
* Refer available-lang.json in ./locales for list of languages
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
async function generateLanguageMenu() {
|
||||
languageMenu.innerHTML = '';
|
||||
|
||||
// Add System Default option
|
||||
const defaultButton = document.createElement('button');
|
||||
defaultButton.classList.add('language-option', 'ripple-element');
|
||||
defaultButton.setAttribute('data-lang', 'default');
|
||||
defaultButton.setAttribute('data-i18n', 'system_default');
|
||||
languageMenu.appendChild(defaultButton);
|
||||
|
||||
// Create and sort language entries
|
||||
const sortedLanguages = Object.entries(languageNames)
|
||||
.map(([lang, name]) => ({ lang, name }))
|
||||
.sort((a, b) => a.name.localeCompare(b.name));
|
||||
|
||||
// Add language buttons
|
||||
sortedLanguages.forEach(({ lang, name }) => {
|
||||
const button = document.createElement('button');
|
||||
button.classList.add('language-option', 'ripple-element');
|
||||
button.setAttribute('data-lang', lang);
|
||||
button.textContent = name;
|
||||
languageMenu.appendChild(button);
|
||||
});
|
||||
|
||||
// Add translation guide button
|
||||
const moreBtn = document.createElement('button');
|
||||
moreBtn.classList.add('language-option', 'ripple-element');
|
||||
moreBtn.textContent = translations.more_language;
|
||||
moreBtn.onclick = () => linkRedirect('https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/main/module/webui/locales/GUIDE.md');
|
||||
languageMenu.appendChild(moreBtn);
|
||||
}
|
||||
343
module/webui/scripts/main.js
Normal file
343
module/webui/scripts/main.js
Normal file
@@ -0,0 +1,343 @@
|
||||
import { exec, toast } from './assets/kernelsu.js';
|
||||
import { appListContainer, fetchAppList } from './applist.js';
|
||||
import { loadTranslations, setupLanguageMenu, translations } from './language.js';
|
||||
import { setupSystemAppMenu } from './menu_option.js';
|
||||
import { searchMenuContainer, searchInput, clearBtn, setupMenuToggle } from './search_menu.js';
|
||||
import { updateCheck } from './update.js';
|
||||
import { securityPatch } from './security_patch.js';
|
||||
|
||||
// Header Elements
|
||||
const title = document.querySelector('.header');
|
||||
export const noConnection = document.querySelector('.no-connection');
|
||||
|
||||
// Loading, Save and Prompt Elements
|
||||
export const loadingIndicator = document.querySelector('.loading');
|
||||
const prompt = document.getElementById('prompt');
|
||||
const floatingCard = document.querySelector('.floating-card');
|
||||
const floatingBtn = document.querySelector('.floating-btn');
|
||||
|
||||
export let basePath;
|
||||
export const appsWithExclamation = [];
|
||||
export const appsWithQuestion = [];
|
||||
const ADDITIONAL_APPS = []; // Deprecated
|
||||
|
||||
// Variables
|
||||
let e = 0;
|
||||
let isRefreshing = false;
|
||||
|
||||
// Function to set basePath
|
||||
async function getBasePath() {
|
||||
try {
|
||||
const { errno } = await exec('[ -d /data/adb/modules/.TA_utl ]');
|
||||
basePath = errno === 0 ? "/data/adb/modules/.TA_utl" : "/data/adb/modules/TA_utl";
|
||||
} catch (error) {
|
||||
console.error("Error getting base path:", error);
|
||||
}
|
||||
}
|
||||
|
||||
// Function to load the version from module.prop
|
||||
function getModuleVersion() {
|
||||
exec(`grep '^version=' ${basePath}/common/update/module.prop | cut -d'=' -f2`)
|
||||
.then(({ stdout }) => {
|
||||
document.getElementById('module-version').textContent = stdout;
|
||||
});
|
||||
}
|
||||
|
||||
// Function to refresh app list
|
||||
export async function refreshAppList() {
|
||||
isRefreshing = true;
|
||||
title.style.transform = 'translateY(0)';
|
||||
searchMenuContainer.style.transform = 'translateY(0)';
|
||||
hideFloatingBtn();
|
||||
searchInput.value = '';
|
||||
clearBtn.style.display = "none";
|
||||
appListContainer.innerHTML = '';
|
||||
loadingIndicator.style.display = 'flex';
|
||||
document.querySelector('.uninstall-container').classList.add('hidden-uninstall');
|
||||
window.scrollTo(0, 0);
|
||||
if (noConnection.style.display === "flex") {
|
||||
updateCheck();
|
||||
exec(`rm -f "${basePath}/common/tmp/exclude-list"`);
|
||||
}
|
||||
fetchAppList();
|
||||
isRefreshing = false;
|
||||
}
|
||||
|
||||
// Function to check tricky store version
|
||||
function checkTrickyStoreVersion() {
|
||||
const securityPatchElement = document.getElementById('security-patch');
|
||||
exec(`
|
||||
TS_version=$(grep "versionCode=" "/data/adb/modules/tricky_store/module.prop" | cut -d'=' -f2)
|
||||
if grep -q "James" "/data/adb/modules/tricky_store/module.prop"; then
|
||||
echo 0
|
||||
elif [ "$TS_version" -ge 158 ]; then
|
||||
echo 0
|
||||
else
|
||||
echo $TS_version
|
||||
fi
|
||||
`).then(({ stdout }) => {
|
||||
if (stdout.trim() === "0") {
|
||||
securityPatchElement.style.display = "flex";
|
||||
} else {
|
||||
console.log("Tricky Store version:", stdout.trim());
|
||||
}
|
||||
}).catch(error => {
|
||||
// debug usage
|
||||
console.error("Error checking Tricky Store version:", error);
|
||||
securityPatchElement.style.display = "flex";
|
||||
});
|
||||
}
|
||||
|
||||
// Function to check if Magisk
|
||||
function checkMagisk() {
|
||||
const selectDenylistElement = document.getElementById('select-denylist');
|
||||
exec('command -v magisk')
|
||||
.then(({ errno }) => {
|
||||
if (errno === 0) selectDenylistElement.style.display = "flex";
|
||||
});
|
||||
}
|
||||
|
||||
// Function to show the prompt with a success or error message
|
||||
export function showPrompt(key, isSuccess = true, duration = 3000) {
|
||||
prompt.textContent = translations[key];
|
||||
prompt.classList.toggle('error', !isSuccess);
|
||||
if (window.promptTimeout) {
|
||||
clearTimeout(window.promptTimeout);
|
||||
}
|
||||
setTimeout(() => {
|
||||
prompt.style.transform = 'translateY(calc((var(--window-inset-bottom, 0px) + 60%) * -1))';
|
||||
window.promptTimeout = setTimeout(() => {
|
||||
prompt.style.transform = 'translateY(100%)';
|
||||
}, duration);
|
||||
}, 100);
|
||||
}
|
||||
|
||||
/**
|
||||
* Redirect to a link with am command
|
||||
* @param {string} link - The link to redirect in browser
|
||||
*/
|
||||
export function linkRedirect(link) {
|
||||
toast("Redirecting to " + link);
|
||||
setTimeout(() => {
|
||||
exec(`am start -a android.intent.action.VIEW -d ${link}`)
|
||||
.then(({ errno }) => {
|
||||
if (errno !== 0) toast("Failed to open link");
|
||||
});
|
||||
},100);
|
||||
}
|
||||
|
||||
// Save configure and preserve ! and ? in target.txt
|
||||
document.getElementById("save").addEventListener("click", () => {
|
||||
const selectedApps = Array.from(appListContainer.querySelectorAll(".checkbox:checked"))
|
||||
.map(checkbox => checkbox.closest(".card").querySelector(".content").getAttribute("data-package"));
|
||||
let finalAppsList = new Set(selectedApps);
|
||||
ADDITIONAL_APPS.forEach(app => {
|
||||
finalAppsList.add(app);
|
||||
});
|
||||
finalAppsList = Array.from(finalAppsList);
|
||||
const modifiedAppsList = finalAppsList.map(app => {
|
||||
if (appsWithExclamation.includes(app)) {
|
||||
return `${app}!`;
|
||||
} else if (appsWithQuestion.includes(app)) {
|
||||
return `${app}?`;
|
||||
}
|
||||
return app;
|
||||
});
|
||||
const updatedTargetContent = modifiedAppsList.join("\n");
|
||||
exec(`echo "${updatedTargetContent}" | sort -u > /data/adb/tricky_store/target.txt`)
|
||||
.then(({ errno }) => {
|
||||
if (errno === 0) {
|
||||
for (const app of appsWithExclamation) {
|
||||
exec(`sed -i 's/^${app}$/${app}!/' /data/adb/tricky_store/target.txt`);
|
||||
}
|
||||
for (const app of appsWithQuestion) {
|
||||
exec(`sed -i 's/^${app}$/${app}?/' /data/adb/tricky_store/target.txt`);
|
||||
}
|
||||
showPrompt("prompt_saved_target");
|
||||
refreshAppList();
|
||||
} else {
|
||||
showPrompt("prompt_save_error", false);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Uninstall WebUI
|
||||
document.querySelector(".uninstall-container").addEventListener("click", () => {
|
||||
const uninstallOverlay = document.getElementById("uninstall-confirmation-overlay");
|
||||
const uninstallContent = document.querySelector('.uninstall-confirmation');
|
||||
const cancelButton = document.getElementById("cancel-uninstall");
|
||||
const confirmButton = document.getElementById("confirm-uninstall")
|
||||
|
||||
uninstallOverlay.style.display = 'flex';
|
||||
document.body.classList.add('no-scroll');
|
||||
setTimeout(() => {
|
||||
uninstallOverlay.style.opacity = 1;
|
||||
uninstallContent.classList.add('open');
|
||||
}, 10)
|
||||
|
||||
const closeuninstallOverlay = () => {
|
||||
document.body.classList.remove('no-scroll');
|
||||
uninstallOverlay.style.opacity = 0;
|
||||
uninstallContent.classList.remove('open');
|
||||
setTimeout(() => {
|
||||
uninstallOverlay.style.display = 'none';
|
||||
}, 200)
|
||||
}
|
||||
cancelButton.addEventListener('click', () => closeuninstallOverlay());
|
||||
uninstallOverlay.addEventListener('click', (e) => {
|
||||
if (e.target === uninstallOverlay) closeuninstallOverlay();
|
||||
})
|
||||
confirmButton.addEventListener('click', () => {
|
||||
closeuninstallOverlay();
|
||||
exec(`sh ${basePath}/common/get_extra.sh --uninstall`)
|
||||
.then(({ errno }) => {
|
||||
if (errno === 0) {
|
||||
showPrompt("prompt_uninstall_prompt");
|
||||
} else {
|
||||
showPrompt("prompt_uninstall_failed", false);
|
||||
}
|
||||
});
|
||||
})
|
||||
});
|
||||
|
||||
// Function to check if running in MMRL
|
||||
function checkMMRL() {
|
||||
if (window.$tricky_store && Object.keys($tricky_store).length > 0) {
|
||||
// Set status bars theme based on device theme
|
||||
$tricky_store.setLightStatusBars(!window.matchMedia('(prefers-color-scheme: dark)').matches)
|
||||
|
||||
// Create home screen shortcut
|
||||
const shortcutButton = document.getElementById('shortcut');
|
||||
shortcutButton.style.display = 'flex';
|
||||
shortcutButton.addEventListener('click', () => {
|
||||
$tricky_store.createShortcut();
|
||||
showPrompt("prompt_shortcut_created", true);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Funtion to adapt floating button hide in MMRL
|
||||
export function hideFloatingBtn(hide = true) {
|
||||
if (!hide) {
|
||||
floatingCard.style.transform = 'translateY(0)';
|
||||
floatingBtn.style.display = 'block';
|
||||
}
|
||||
else floatingCard.style.transform = 'translateY(calc(var(--window-inset-bottom, 0px) + 120px))';
|
||||
}
|
||||
|
||||
/**
|
||||
* Simulate MD3 ripple animation
|
||||
* Usage: class="ripple-element" style="position: relative; overflow: hidden;"
|
||||
* Note: Require background-color to work properly
|
||||
* @return {void}
|
||||
*/
|
||||
export function applyRippleEffect() {
|
||||
document.querySelectorAll('.ripple-element').forEach(element => {
|
||||
if (element.dataset.rippleListener !== "true") {
|
||||
element.addEventListener("pointerdown", async (event) => {
|
||||
// Pointer up event
|
||||
const handlePointerUp = () => {
|
||||
ripple.classList.add("end");
|
||||
setTimeout(() => {
|
||||
ripple.classList.remove("end");
|
||||
ripple.remove();
|
||||
}, duration * 1000);
|
||||
element.removeEventListener("pointerup", handlePointerUp);
|
||||
element.removeEventListener("pointercancel", handlePointerUp);
|
||||
};
|
||||
element.addEventListener("pointerup", () => setTimeout(handlePointerUp, 80));
|
||||
element.addEventListener("pointercancel", () => setTimeout(handlePointerUp, 80));
|
||||
|
||||
const ripple = document.createElement("span");
|
||||
ripple.classList.add("ripple");
|
||||
|
||||
// Calculate ripple size and position
|
||||
const rect = element.getBoundingClientRect();
|
||||
const width = rect.width;
|
||||
const size = Math.max(rect.width, rect.height);
|
||||
const x = event.clientX - rect.left - size / 2;
|
||||
const y = event.clientY - rect.top - size / 2;
|
||||
|
||||
// Determine animation duration
|
||||
let duration = 0.2 + (width / 800) * 0.4;
|
||||
duration = Math.min(0.8, Math.max(0.2, duration));
|
||||
|
||||
// Set ripple styles
|
||||
ripple.style.width = ripple.style.height = `${size}px`;
|
||||
ripple.style.left = `${x}px`;
|
||||
ripple.style.top = `${y}px`;
|
||||
ripple.style.animationDuration = `${duration}s`;
|
||||
ripple.style.transition = `opacity ${duration}s ease`;
|
||||
|
||||
// Get effective background color (traverse up if transparent)
|
||||
const getEffectiveBackgroundColor = (el) => {
|
||||
while (el && el !== document.documentElement) {
|
||||
const bg = window.getComputedStyle(el).backgroundColor;
|
||||
if (bg && bg !== "rgba(0, 0, 0, 0)" && bg !== "transparent") {
|
||||
return bg;
|
||||
}
|
||||
el = el.parentElement;
|
||||
}
|
||||
return "rgba(255, 255, 255, 1)";
|
||||
};
|
||||
|
||||
const bgColor = getEffectiveBackgroundColor(element);
|
||||
const isDarkColor = (color) => {
|
||||
const rgb = color.match(/\d+/g);
|
||||
if (!rgb) return false;
|
||||
const [r, g, b] = rgb.map(Number);
|
||||
return (r * 0.299 + g * 0.587 + b * 0.114) < 96; // Luma formula
|
||||
};
|
||||
ripple.style.backgroundColor = isDarkColor(bgColor) ? "rgba(255, 255, 255, 0.2)" : "rgba(0, 0, 0, 0.2)";
|
||||
|
||||
// Append ripple if not scrolling
|
||||
await new Promise(resolve => setTimeout(resolve, 80));
|
||||
if (isScrolling) return;
|
||||
element.appendChild(ripple);
|
||||
});
|
||||
element.dataset.rippleListener = "true";
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Scroll event
|
||||
let lastScrollY = window.scrollY;
|
||||
let isScrolling = false;
|
||||
let scrollTimeout;
|
||||
const scrollThreshold = 40;
|
||||
window.addEventListener('scroll', () => {
|
||||
isScrolling = true;
|
||||
clearTimeout(scrollTimeout);
|
||||
scrollTimeout = setTimeout(() => {
|
||||
isScrolling = false;
|
||||
}, 200);
|
||||
if (isRefreshing) return;
|
||||
if (window.scrollY > lastScrollY && window.scrollY > scrollThreshold) {
|
||||
title.style.transform = 'translateY(-100%)';
|
||||
searchMenuContainer.style.transform = 'translateY(-40px)';
|
||||
hideFloatingBtn();
|
||||
} else if (window.scrollY < lastScrollY) {
|
||||
title.style.transform = 'translateY(0)';
|
||||
searchMenuContainer.style.transform = 'translateY(0)';
|
||||
hideFloatingBtn(false);
|
||||
}
|
||||
lastScrollY = window.scrollY;
|
||||
});
|
||||
|
||||
// Initial load
|
||||
document.addEventListener('DOMContentLoaded', async () => {
|
||||
await loadTranslations();
|
||||
await getBasePath();
|
||||
checkMMRL();
|
||||
hideFloatingBtn();
|
||||
getModuleVersion();
|
||||
setupMenuToggle();
|
||||
setupLanguageMenu();
|
||||
setupSystemAppMenu();
|
||||
fetchAppList();
|
||||
checkTrickyStoreVersion();
|
||||
checkMagisk();
|
||||
updateCheck();
|
||||
securityPatch();
|
||||
document.getElementById("refresh").addEventListener("click", refreshAppList);
|
||||
});
|
||||
433
module/webui/scripts/menu_option.js
Normal file
433
module/webui/scripts/menu_option.js
Normal file
@@ -0,0 +1,433 @@
|
||||
import { exec, spawn, toast } from './assets/kernelsu.js';
|
||||
import { basePath, showPrompt, applyRippleEffect, refreshAppList } from './main.js';
|
||||
|
||||
// Function to check or uncheck all app
|
||||
function toggleCheckboxes(shouldCheck) {
|
||||
document.querySelectorAll(".card").forEach(card => {
|
||||
if (card.style.display !== "none") {
|
||||
card.querySelector(".checkbox").checked = shouldCheck;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Function to select all visible apps
|
||||
document.getElementById("select-all").addEventListener("click", () => toggleCheckboxes(true));
|
||||
|
||||
// Function to deselect all visible apps
|
||||
document.getElementById("deselect-all").addEventListener("click", () => toggleCheckboxes(false));
|
||||
|
||||
// Function to read the denylist and check corresponding apps
|
||||
document.getElementById("select-denylist").addEventListener("click", () => {
|
||||
exec(`magisk --denylist ls 2>/dev/null | awk -F'|' '{print $1}' | grep -v "isolated" | sort -u`)
|
||||
.then(({ errno, stdout }) => {
|
||||
if (errno === 0) {
|
||||
const denylistApps = stdout.split("\n").map(app => app.trim()).filter(Boolean);
|
||||
document.querySelectorAll(".card").forEach(app => {
|
||||
const contentElement = app.querySelector(".content");
|
||||
const packageName = contentElement.getAttribute("data-package");
|
||||
if (denylistApps.includes(packageName)) {
|
||||
app.querySelector(".checkbox").checked = true;
|
||||
}
|
||||
});
|
||||
exec('touch "/data/adb/tricky_store/target_from_denylist"');
|
||||
} else {
|
||||
toast("Failed to read DenyList!");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Function to read the exclude list and uncheck corresponding apps
|
||||
document.getElementById("deselect-unnecessary").addEventListener("click", async () => {
|
||||
try {
|
||||
const excludeList = await fetch("https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/more-exclude.json")
|
||||
.then(response => {
|
||||
if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);
|
||||
return response.json();
|
||||
})
|
||||
.catch(async () => {
|
||||
return fetch("https://raw.gitmirror.com/KOWX712/Tricky-Addon-Update-Target-List/main/more-exclude.json")
|
||||
.then(response => {
|
||||
if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);
|
||||
return response.json();
|
||||
});
|
||||
})
|
||||
.then(data => {
|
||||
return data.data
|
||||
.flatMap(category => category.apps)
|
||||
.map(app => app['package-name'])
|
||||
.join('\n');
|
||||
})
|
||||
.catch(error => {
|
||||
toast("Failed to download unnecessary apps!");
|
||||
throw error;
|
||||
});
|
||||
exec(`sh ${basePath}/common/get_extra.sh --xposed`)
|
||||
.then(({ stdout }) => {
|
||||
const unnecessaryApps = excludeList.split("\n").map(app => app.trim())
|
||||
.filter(Boolean).concat(stdout.split("\n").map(app => app.trim()).filter(Boolean));
|
||||
document.querySelectorAll(".card").forEach(app => {
|
||||
const contentElement = app.querySelector(".content");
|
||||
const packageName = contentElement.getAttribute("data-package");
|
||||
if (unnecessaryApps.includes(packageName)) {
|
||||
app.querySelector(".checkbox").checked = false;
|
||||
}
|
||||
});
|
||||
});
|
||||
} catch (error) {
|
||||
toast("Failed to get unnecessary apps!");
|
||||
console.error("Failed to get unnecessary apps:", error);
|
||||
}
|
||||
});
|
||||
|
||||
// Function to add system app
|
||||
export async function setupSystemAppMenu() {
|
||||
document.getElementById("add-system-app").addEventListener("click", () => setTimeout(() => openSystemAppOverlay(), 80));
|
||||
document.getElementById("add-system-app-overlay").addEventListener("click", (event) => {
|
||||
if (event.target === event.currentTarget) closeSystemAppOverlay();
|
||||
});
|
||||
const systemAppOverlay = document.getElementById("add-system-app-overlay");
|
||||
const systemAppContent = document.querySelector('.add-system-app-card');
|
||||
const systemAppInput = document.getElementById("system-app-input");
|
||||
function openSystemAppOverlay() {
|
||||
renderSystemAppList();
|
||||
document.body.classList.add("no-scroll");
|
||||
systemAppOverlay.style.display = "flex";
|
||||
setTimeout(() => {
|
||||
systemAppOverlay.style.opacity = "1";
|
||||
systemAppContent.classList.add('open');
|
||||
}, 10);
|
||||
systemAppInput.value = "";
|
||||
}
|
||||
function closeSystemAppOverlay() {
|
||||
document.body.classList.remove("no-scroll");
|
||||
systemAppOverlay.style.opacity = "0";
|
||||
systemAppContent.classList.remove('open');
|
||||
setTimeout(() => {
|
||||
systemAppOverlay.style.display = "none";
|
||||
}, 300);
|
||||
}
|
||||
|
||||
// Add system app button
|
||||
document.getElementById("add-system-app-button").addEventListener("click", async () => {
|
||||
const input = document.getElementById("system-app-input");
|
||||
const packageName = input.value.trim();
|
||||
if (packageName) {
|
||||
exec(`pm list packages -s | grep -q ${packageName}`)
|
||||
.then(({ errno }) => {
|
||||
if (errno !== 0) {
|
||||
showPrompt("prompt_system_app_not_found", false);
|
||||
} else {
|
||||
exec(`
|
||||
touch "/data/adb/tricky_store/system_app"
|
||||
echo "${packageName}" >> "/data/adb/tricky_store/system_app"
|
||||
echo "${packageName}" >> "/data/adb/tricky_store/target.txt"
|
||||
`)
|
||||
systemAppInput.value = "";
|
||||
closeSystemAppOverlay();
|
||||
refreshAppList();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// Display current system app list and remove button
|
||||
async function renderSystemAppList() {
|
||||
const systemAppList = document.querySelector(".current-system-app-list");
|
||||
const systemAppListContent = document.querySelector(".current-system-app-list-content");
|
||||
systemAppListContent.innerHTML = "";
|
||||
const { errno, stdout } = await exec(`[ -f "/data/adb/tricky_store/system_app" ] && cat "/data/adb/tricky_store/system_app" | sed '/^$/d'`);
|
||||
if (errno !== 0 || stdout.trim() === "") {
|
||||
systemAppList.style.display = "none";
|
||||
} else {
|
||||
stdout.split("\n").forEach(app => {
|
||||
if (app.trim() !== "") {
|
||||
systemAppListContent.innerHTML += `
|
||||
<div class="system-app-item">
|
||||
<span>${app}</span>
|
||||
<button class="remove-system-app-button ripple-element">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="22px" viewBox="0 -960 960 960" width="22px" fill="#FFFFFF"><path d="M154-412v-136h652v136H154Z"/></svg>
|
||||
</button>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Remove button listener
|
||||
document.querySelectorAll(".remove-system-app-button").forEach(button => {
|
||||
button.addEventListener("click", () => {
|
||||
const app = button.closest(".system-app-item").querySelector("span").textContent;
|
||||
exec(`
|
||||
sed -i "/${app}/d" "/data/adb/tricky_store/system_app"
|
||||
sed -i "/${app}/d" "/data/adb/tricky_store/target.txt"
|
||||
`).then(() => {
|
||||
closeSystemAppOverlay();
|
||||
refreshAppList();
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Backup previous keybox and set new keybox
|
||||
* @param {String} content - kb content to save
|
||||
* @returns {Boolean}
|
||||
*/
|
||||
async function setKeybox(content) {
|
||||
await exec(`
|
||||
mv -f /data/adb/tricky_store/keybox.xml /data/adb/tricky_store/keybox.xml.bak 2>/dev/null
|
||||
cat << 'KB_EOF' > /data/adb/tricky_store/keybox.xml
|
||||
${content}
|
||||
KB_EOF
|
||||
chmod 644 /data/adb/tricky_store/keybox.xml
|
||||
`).then(({ errno }) => {
|
||||
return errno === 0;
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Set aosp key
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
async function aospkb() {
|
||||
const { stdout } = await exec(`xxd -r -p ${basePath}/common/.default | base64 -d`);
|
||||
const result = setKeybox(stdout);
|
||||
showPrompt(result ? "prompt_aosp_key_set" : "prompt_key_set_error", result);
|
||||
}
|
||||
|
||||
// aosp kb eventlistener
|
||||
document.getElementById("aospkb").addEventListener("click", async () => aospkb());
|
||||
|
||||
/**
|
||||
* Fetch encoded keybox and decode
|
||||
* @param {String} link - link to fetch
|
||||
* @param {String} fallbackLink - fallback link
|
||||
* @returns {void}
|
||||
*/
|
||||
async function fetchkb(link, fallbackLink) {
|
||||
fetch(link)
|
||||
.then(response => {
|
||||
if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);
|
||||
return response.text();
|
||||
})
|
||||
.catch(async () => {
|
||||
return fetch(fallbackLink)
|
||||
.then(response => {
|
||||
if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);
|
||||
return response.text();
|
||||
});
|
||||
})
|
||||
.then(data => {
|
||||
if (!data.trim()) {
|
||||
showPrompt("prompt_no_valid", false);
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const hexBytes = new Uint8Array(data.match(/.{1,2}/g).map(byte => parseInt(byte, 16)));
|
||||
const decodedHex = new TextDecoder().decode(hexBytes);
|
||||
const source = atob(decodedHex);
|
||||
const result = setKeybox(source);
|
||||
if (result) {
|
||||
showPrompt("prompt_valid_key_set");
|
||||
} else {
|
||||
throw new Error("Failed to copy valid keybox");
|
||||
}
|
||||
} catch (error) {
|
||||
throw new Error("Failed to decode keybox data");
|
||||
}
|
||||
})
|
||||
.catch(async error => {
|
||||
showPrompt("prompt_no_internet", false);
|
||||
});
|
||||
}
|
||||
|
||||
// unkown kb eventlistener
|
||||
document.getElementById("devicekb").addEventListener("click", async () => {
|
||||
const output = spawn("sh", [`${basePath}/common/get_extra.sh`, "--unknown-kb"],
|
||||
{ cwd: "/data/local/tmp", env: { PATH: `$PATH:${basePath}/common`, OPENSSL_CONF: "/dev/null" }});
|
||||
output.on('exit', (code) => {
|
||||
showPrompt(code === 0 ? "prompt_unknown_key_set" : "prompt_key_set_error", code === 0);
|
||||
});
|
||||
});
|
||||
|
||||
// valid kb eventlistener
|
||||
document.getElementById("validkb").addEventListener("click", () => {
|
||||
fetchkb(
|
||||
"https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/.extra",
|
||||
"https://raw.gitmirror.com/KOWX712/Tricky-Addon-Update-Target-List/main/.extra"
|
||||
)
|
||||
});
|
||||
|
||||
// File selector
|
||||
const fileSelector = document.querySelector('.file-selector-overlay');
|
||||
const fileSelectorContent = document.querySelector('.file-selector');
|
||||
let currentPath = '/storage/emulated/0/Download';
|
||||
|
||||
// Function to display file in current path
|
||||
function updateCurrentPath() {
|
||||
const currentPathElement = document.querySelector('.current-path');
|
||||
const segments = currentPath.split('/').filter(Boolean);
|
||||
|
||||
// Create spans with data-path attribute for each segment
|
||||
const pathHTML = segments.map((segment, index) => {
|
||||
const fullPath = '/' + segments.slice(0, index + 1).join('/');
|
||||
return `<span class="path-segment" data-path="${fullPath}">${segment}</span>`;
|
||||
}).join('<span class="separator">›</span>');
|
||||
|
||||
currentPathElement.innerHTML = pathHTML;
|
||||
currentPathElement.scrollTo({
|
||||
left: currentPathElement.scrollWidth,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
}
|
||||
|
||||
// Function to list files in directory
|
||||
async function listFiles(path, skipAnimation = false) {
|
||||
const fileList = document.querySelector('.file-list');
|
||||
if (!skipAnimation) {
|
||||
fileList.classList.add('switching');
|
||||
await new Promise(resolve => setTimeout(resolve, 150));
|
||||
}
|
||||
try {
|
||||
const { stdout } = await exec(`find "${path}" -maxdepth 1 -type f -name "*.xml" -o -type d ! -name ".*" | sort`);
|
||||
const items = stdout.split('\n').filter(Boolean).map(item => ({
|
||||
path: item,
|
||||
name: item.split('/').pop(),
|
||||
isDirectory: !item.endsWith('.xml')
|
||||
}));
|
||||
fileList.innerHTML = '';
|
||||
|
||||
// Add back button item if not in root directory
|
||||
if (currentPath !== '/storage/emulated/0') {
|
||||
const backItem = document.createElement('div');
|
||||
backItem.className = 'file-item ripple-element';
|
||||
backItem.innerHTML = `
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
|
||||
<path d="M141-160q-24 0-42-18.5T81-220v-520q0-23 18-41.5t42-18.5h280l60 60h340q23 0 41.5 18.5T881-680v460q0 23-18.5 41.5T821-160H141Z"/>
|
||||
</svg>
|
||||
<span>..</span>
|
||||
`;
|
||||
backItem.addEventListener('click', async () => {
|
||||
document.querySelector('.back-button').click();
|
||||
});
|
||||
fileList.appendChild(backItem);
|
||||
}
|
||||
items.forEach(item => {
|
||||
if (item.path === path) return;
|
||||
const itemElement = document.createElement('div');
|
||||
itemElement.className = 'file-item ripple-element';
|
||||
itemElement.innerHTML = `
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
|
||||
${item.isDirectory ?
|
||||
'<path d="M141-160q-24 0-42-18.5T81-220v-520q0-23 18-41.5t42-18.5h280l60 60h340q23 0 41.5 18.5T881-680v460q0 23-18.5 41.5T821-160H141Z"/>' :
|
||||
'<path d="M320-240h320v-80H320v80Zm0-160h320v-80H320v80ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z"/>'}
|
||||
</svg>
|
||||
<span>${item.name}</span>
|
||||
`;
|
||||
itemElement.addEventListener('click', async () => {
|
||||
if (item.isDirectory) {
|
||||
currentPath = item.path;
|
||||
const currentPathElement = document.querySelector('.current-path');
|
||||
currentPathElement.innerHTML = currentPath.split('/').filter(Boolean).join('<span class="separator">›</span>');
|
||||
currentPathElement.scrollTo({
|
||||
left: currentPathElement.scrollWidth,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
await listFiles(item.path);
|
||||
} else {
|
||||
const { stdout } = await exec(`cat "${item.path}"`);
|
||||
const result = setKeybox(stdout);
|
||||
showPrompt(result ? "prompt_custom_key_set" : "prompt_custom_key_set_error", result);
|
||||
closeCustomKeyboxSelector();
|
||||
}
|
||||
});
|
||||
fileList.appendChild(itemElement);
|
||||
});
|
||||
|
||||
if (!skipAnimation) {
|
||||
fileList.classList.remove('switching');
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Error listing files:', error);
|
||||
if (!skipAnimation) {
|
||||
fileList.classList.remove('switching');
|
||||
}
|
||||
}
|
||||
applyRippleEffect();
|
||||
updateCurrentPath();
|
||||
}
|
||||
|
||||
// Update click handler to use data-path attribute
|
||||
document.querySelector('.current-path').addEventListener('click', async (event) => {
|
||||
const segment = event.target.closest('.path-segment');
|
||||
if (!segment) return;
|
||||
|
||||
const targetPath = segment.dataset.path;
|
||||
if (!targetPath || targetPath === currentPath) return;
|
||||
|
||||
// Return if already at /storage/emulated/0
|
||||
const clickedSegment = segment.textContent;
|
||||
if ((clickedSegment === 'storage' || clickedSegment === 'emulated') &&
|
||||
currentPath === '/storage/emulated/0') {
|
||||
return;
|
||||
}
|
||||
|
||||
// Always stay within /storage/emulated/0
|
||||
if (targetPath.split('/').length <= 3) {
|
||||
currentPath = '/storage/emulated/0';
|
||||
} else {
|
||||
currentPath = targetPath;
|
||||
}
|
||||
updateCurrentPath();
|
||||
await listFiles(currentPath);
|
||||
});
|
||||
|
||||
// Back button handler
|
||||
document.querySelector('.back-button').addEventListener('click', async () => {
|
||||
if (currentPath === '/storage/emulated/0') return;
|
||||
currentPath = currentPath.split('/').slice(0, -1).join('/');
|
||||
if (currentPath === '') currentPath = '/storage/emulated/0';
|
||||
const currentPathElement = document.querySelector('.current-path');
|
||||
currentPathElement.innerHTML = currentPath.split('/').filter(Boolean).join('<span class="separator">›</span>');
|
||||
currentPathElement.scrollTo({
|
||||
left: currentPathElement.scrollWidth,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
await listFiles(currentPath);
|
||||
});
|
||||
|
||||
// Close custom keybox selector
|
||||
document.querySelector('.close-selector').addEventListener('click', () => closeCustomKeyboxSelector());
|
||||
fileSelector.addEventListener('click', (event) => {
|
||||
if (event.target === fileSelector) closeCustomKeyboxSelector();
|
||||
});
|
||||
|
||||
// close custom keybox selector
|
||||
const closeCustomKeyboxSelector = () => {
|
||||
fileSelector.style.opacity = '0';
|
||||
fileSelectorContent.classList.remove('open');
|
||||
document.body.classList.remove("no-scroll");
|
||||
setTimeout(() => {
|
||||
fileSelector.style.display = 'none';
|
||||
}, 300);
|
||||
}
|
||||
|
||||
// Open custom keybox selector
|
||||
document.getElementById('customkb').addEventListener('click', async () => {
|
||||
await new Promise(resolve => setTimeout(resolve, 80));
|
||||
fileSelector.style.display = 'flex';
|
||||
document.body.classList.add("no-scroll");
|
||||
setTimeout(() => {
|
||||
fileSelector.style.opacity = '1';
|
||||
fileSelectorContent.classList.add('open');
|
||||
}, 10)
|
||||
currentPath = '/storage/emulated/0/Download';
|
||||
const currentPathElement = document.querySelector('.current-path');
|
||||
currentPathElement.innerHTML = currentPath.split('/').filter(Boolean).join('<span class="separator">›</span>');
|
||||
currentPathElement.scrollTo({
|
||||
left: currentPathElement.scrollWidth,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
await listFiles(currentPath, true);
|
||||
});
|
||||
68
module/webui/scripts/search_menu.js
Normal file
68
module/webui/scripts/search_menu.js
Normal file
@@ -0,0 +1,68 @@
|
||||
import { appListContainer } from './applist.js';
|
||||
|
||||
const searchCard = document.querySelector('.search-card');
|
||||
export const searchInput = document.getElementById('search');
|
||||
export const clearBtn = document.getElementById('clear-btn');
|
||||
export const searchMenuContainer = document.querySelector('.search-menu-container');
|
||||
const menuButton = document.getElementById('menu-button');
|
||||
const menuOptions = document.getElementById('menu-options');
|
||||
const menuOverlay = document.getElementById('menu-overlay');
|
||||
const menuIcon = menuButton.querySelector('.menu-icon');
|
||||
|
||||
// Focus on search input when search card is clicked
|
||||
searchCard.addEventListener("click", () => searchInput.focus());
|
||||
|
||||
// Search functionality
|
||||
searchInput.addEventListener("input", (e) => {
|
||||
const searchQuery = e.target.value.toLowerCase();
|
||||
const apps = appListContainer.querySelectorAll(".card");
|
||||
apps.forEach(app => {
|
||||
const name = app.querySelector(".name").textContent.toLowerCase();
|
||||
app.style.display = name.includes(searchQuery) ? "block" : "none";
|
||||
window.scrollTo(0, 0);
|
||||
});
|
||||
if (searchQuery !== "") clearBtn.style.display = "block";
|
||||
else clearBtn.style.display = "none";
|
||||
});
|
||||
|
||||
// Clear search input
|
||||
clearBtn.addEventListener("click", () => {
|
||||
searchInput.value = "";
|
||||
clearBtn.style.display = "none";
|
||||
window.scrollTo(0, 0);
|
||||
const apps = appListContainer.querySelectorAll(".card");
|
||||
apps.forEach(app => app.style.display = "block");
|
||||
});
|
||||
|
||||
// Function to toggle menu option
|
||||
export function setupMenuToggle() {
|
||||
const closeMenu = () => {
|
||||
menuOptions.classList.remove('visible');
|
||||
menuIcon.classList.remove('menu-open');
|
||||
menuOverlay.style.display = 'none';
|
||||
}
|
||||
|
||||
menuButton.addEventListener('click', () => {
|
||||
if (menuOptions.classList.contains('visible')) {
|
||||
closeMenu();
|
||||
} else {
|
||||
setTimeout(() => {
|
||||
menuOptions.classList.add('visible');
|
||||
menuIcon.classList.add('menu-open');
|
||||
menuOverlay.style.display = 'flex';
|
||||
}, 10);
|
||||
}
|
||||
});
|
||||
document.addEventListener('click', (event) => {
|
||||
if (!menuOptions.contains(event.target) && event.target !== menuButton) closeMenu();
|
||||
});
|
||||
window.addEventListener('scroll', () => {
|
||||
if (menuOptions.classList.contains('visible')) closeMenu();
|
||||
});
|
||||
const menuOptionsList = document.querySelectorAll('#menu-options li');
|
||||
menuOptionsList.forEach(option => {
|
||||
option.addEventListener('click', () => {
|
||||
setTimeout(() => closeMenu(), 80);
|
||||
});
|
||||
});
|
||||
}
|
||||
389
module/webui/scripts/security_patch.js
Normal file
389
module/webui/scripts/security_patch.js
Normal file
@@ -0,0 +1,389 @@
|
||||
import { exec, spawn } from './assets/kernelsu.js';
|
||||
import { basePath, showPrompt } from './main.js';
|
||||
|
||||
let jamesFork = false;
|
||||
|
||||
const overlay = document.getElementById('security-patch-overlay');
|
||||
const overlayContent = document.querySelector('.security-patch-card');
|
||||
const advancedToggleElement = document.querySelector('.advanced-toggle');
|
||||
const advancedToggle = document.getElementById('advanced-mode');
|
||||
const normalInputs = document.getElementById('normal-mode-inputs');
|
||||
const advancedInputs = document.getElementById('advanced-mode-inputs');
|
||||
const jamesInputs = document.getElementById('james-mode-inputs');
|
||||
const allPatchInput = document.getElementById('all-patch');
|
||||
const bootPatchInput = document.getElementById('boot-patch');
|
||||
const systemPatchInput = document.getElementById('system-patch');
|
||||
const vendorPatchInput = document.getElementById('vendor-patch');
|
||||
const jamesPatchInput = document.getElementById('james-patch');
|
||||
const jamesOsInput = document.getElementById('james-os');
|
||||
const getButton = document.getElementById('get-patch');
|
||||
const autoButton = document.getElementById('auto-config');
|
||||
const saveButton = document.getElementById('save-patch');
|
||||
|
||||
// Hide security patch dialog
|
||||
const hideSecurityPatchDialog = () => {
|
||||
document.body.classList.remove("no-scroll");
|
||||
overlay.style.opacity = '0';
|
||||
overlayContent.classList.remove('open');
|
||||
setTimeout(() => {
|
||||
overlay.style.display = 'none';
|
||||
}, 200);
|
||||
}
|
||||
|
||||
/**
|
||||
* Save the security patch configuration to file
|
||||
* @param {string} mode - 'disable', 'manual'
|
||||
* @param {string} value - The security patch value to save, if mode is 'manual'.
|
||||
*/
|
||||
function handleSecurityPatch(mode, value = null) {
|
||||
if (mode === 'disable') {
|
||||
exec(`
|
||||
rm -f /data/adb/tricky_store/security_patch_auto_config || true
|
||||
rm -f /data/adb/tricky_store/security_patch.txt || true
|
||||
rm -f /data/adb/tricky_store/devconfig.toml || true
|
||||
`).then(({ errno }) => {
|
||||
showPrompt('security_patch_value_empty');
|
||||
return errno === 0;
|
||||
});
|
||||
} else if (mode === 'manual') {
|
||||
const configFile = jamesFork ? '/data/adb/tricky_store/devconfig.toml' : '/data/adb/tricky_store/security_patch.txt';
|
||||
exec(`
|
||||
${jamesFork ? '' : 'rm -f /data/adb/tricky_store/security_patch_auto_config || true'}
|
||||
echo "${value}" > ${configFile}
|
||||
chmod 644 ${configFile}
|
||||
`).then(({ errno }) => {
|
||||
const result = errno === 0;
|
||||
showPrompt(result ? 'security_patch_save_success' : 'security_patch_save_failed', result);
|
||||
return result;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Load current configuration
|
||||
async function loadCurrentConfig() {
|
||||
let allValue, systemValue, bootValue, vendorValue;
|
||||
try {
|
||||
const { errno } = await exec('[ -f /data/adb/tricky_store/security_patch_auto_config ]');
|
||||
if (jamesFork) {
|
||||
const { stdout } = await exec('cat /data/adb/tricky_store/devconfig.toml');
|
||||
if (stdout.trim() !== '') {
|
||||
const lines = stdout.split('\n');
|
||||
for (const line of lines) {
|
||||
if (line.startsWith('securityPatch =')) {
|
||||
const jamesPatchValue = line.split('=')[1].trim().replace(/"/g, '');
|
||||
if (jamesPatchValue !== '') jamesPatchInput.value = jamesPatchValue;
|
||||
}
|
||||
if (line.startsWith('osVersion =')) {
|
||||
const jamesOsVersionValue = line.split('=')[1].trim().replace(/"/g, '');
|
||||
if (jamesOsVersionValue !== '') jamesOsInput.value = jamesOsVersionValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (errno === 0) {
|
||||
allValue = null;
|
||||
systemValue = null;
|
||||
bootValue = null;
|
||||
vendorValue = null;
|
||||
} else {
|
||||
// Read values from tricky_store if manual mode
|
||||
const { stdout } = await exec('cat /data/adb/tricky_store/security_patch.txt');
|
||||
if (stdout.trim() !== '') {
|
||||
const lines = stdout.split('\n');
|
||||
for (const line of lines) {
|
||||
if (line.startsWith('all=')) {
|
||||
allValue = line.split('=')[1] || null;
|
||||
if (allValue !== null) allPatchInput.value = allValue;
|
||||
} else {
|
||||
allValue = null;
|
||||
}
|
||||
if (line.startsWith('system=')) {
|
||||
systemValue = line.split('=')[1] || null;
|
||||
if (systemValue !== null) systemPatchInput.value = systemValue;
|
||||
} else {
|
||||
systemValue = null;
|
||||
}
|
||||
if (line.startsWith('boot=')) {
|
||||
bootValue = line.split('=')[1] || null;
|
||||
if (bootValue !== null) bootPatchInput.value = bootValue;
|
||||
} else {
|
||||
bootValue = null;
|
||||
}
|
||||
if (line.startsWith('vendor=')) {
|
||||
vendorValue = line.split('=')[1] || null;
|
||||
if (vendorValue !== null) vendorPatchInput.value = vendorValue;
|
||||
} else {
|
||||
vendorValue = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (allValue === null && (bootValue || systemValue || vendorValue)) {
|
||||
checkAdvanced(true);
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Failed to load security patch config:', error);
|
||||
}
|
||||
}
|
||||
|
||||
// Function to check advanced mode
|
||||
function checkAdvanced(shouldCheck) {
|
||||
if (jamesFork) return;
|
||||
if (shouldCheck) {
|
||||
advancedToggle.checked = true;
|
||||
normalInputs.classList.add('hidden');
|
||||
advancedInputs.classList.remove('hidden');
|
||||
} else {
|
||||
advancedToggle.checked = false;
|
||||
normalInputs.classList.remove('hidden');
|
||||
advancedInputs.classList.add('hidden');
|
||||
}
|
||||
}
|
||||
|
||||
// Unified date formatting function
|
||||
window.formatDate = function(input) {
|
||||
let value = input.value.replace(/-/g, '');
|
||||
let formatted = value.slice(0, 4);
|
||||
|
||||
// Allow 'no' input
|
||||
if (value === 'no') {
|
||||
input.value = 'no';
|
||||
input.setSelectionRange(2, 2);
|
||||
return 'no';
|
||||
}
|
||||
|
||||
if (value.startsWith('n')) {
|
||||
// Only allow 'o' after 'n'
|
||||
if (value.length > 1 && value[1] !== 'o') {
|
||||
value = 'n';
|
||||
}
|
||||
formatted = value.slice(0, 2);
|
||||
if (value.length > 2) {
|
||||
input.value = formatted;
|
||||
input.setSelectionRange(2, 2);
|
||||
return formatted;
|
||||
}
|
||||
} else {
|
||||
// Only allow numbers if not starting with 'n'
|
||||
const numbersOnly = value.replace(/\D/g, '');
|
||||
if (numbersOnly !== value) {
|
||||
input.value = numbersOnly;
|
||||
value = numbersOnly;
|
||||
formatted = numbersOnly.slice(0, 4);
|
||||
}
|
||||
|
||||
// Add hyphens on 5th and 7th character
|
||||
if (value.length >= 4) {
|
||||
formatted += '-'+ value.slice(4, 6);
|
||||
}
|
||||
if (value.length >= 6) {
|
||||
formatted += '-'+ value.slice(6, 8);
|
||||
}
|
||||
}
|
||||
|
||||
// Handle backspace/delete
|
||||
const lastChar = value.slice(-1);
|
||||
if (lastChar === '-' || (isNaN(lastChar) && !['n'].includes(lastChar))) {
|
||||
formatted = formatted.slice(0, -1);
|
||||
}
|
||||
|
||||
// Update input value
|
||||
const startPos = input.selectionStart;
|
||||
input.value = formatted;
|
||||
const newLength = formatted.length;
|
||||
const shouldMoveCursor = (value.length === 4 || value.length === 6) && newLength > startPos;
|
||||
input.setSelectionRange(shouldMoveCursor ? newLength : startPos, shouldMoveCursor ? newLength : startPos);
|
||||
|
||||
return formatted;
|
||||
}
|
||||
|
||||
// Validate date format YYYY-MM-DD
|
||||
function isValidDateFormat(date) {
|
||||
if (date === 'no') return true;
|
||||
const regex = /^\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])$/;
|
||||
return regex.test(date);
|
||||
}
|
||||
|
||||
// Validate 6-digit format YYYYMM
|
||||
function isValid6Digit(value) {
|
||||
if (value === 'prop') return true;
|
||||
const regex = /^\d{6}$/;
|
||||
return regex.test(value);
|
||||
}
|
||||
|
||||
// Validate 8-digit format YYYYMMDD
|
||||
function isValid8Digit(value) {
|
||||
const regex = /^\d{8}$/;
|
||||
return regex.test(value);
|
||||
}
|
||||
|
||||
// Initialize event listeners
|
||||
export function securityPatch() {
|
||||
exec(`grep -q "James" "/data/adb/modules/tricky_store/module.prop"`)
|
||||
.then(({ errno }) => {
|
||||
if (errno === 0) {
|
||||
jamesFork = true;
|
||||
advancedToggleElement.style.display = 'none';
|
||||
normalInputs.classList.add('hidden');
|
||||
jamesInputs.classList.remove('hidden');
|
||||
}
|
||||
});
|
||||
document.getElementById("security-patch").addEventListener("click", () => {
|
||||
setTimeout(() => {
|
||||
document.body.classList.add("no-scroll");
|
||||
overlay.style.display = 'flex';
|
||||
setTimeout(() => {
|
||||
overlay.style.opacity = '1';
|
||||
overlayContent.classList.add('open');
|
||||
loadCurrentConfig();
|
||||
}, 10);
|
||||
}, 80);
|
||||
});
|
||||
|
||||
// Toggle advanced mode
|
||||
advancedToggle.addEventListener('change', () => {
|
||||
normalInputs.classList.toggle('hidden');
|
||||
advancedInputs.classList.toggle('hidden');
|
||||
});
|
||||
|
||||
// Close on overlay click
|
||||
overlay.addEventListener('click', (e) => {
|
||||
if (e.target === overlay) {
|
||||
hideSecurityPatchDialog();
|
||||
}
|
||||
});
|
||||
|
||||
// Auto config button
|
||||
autoButton.addEventListener('click', () => {
|
||||
const output = spawn('sh', [`${basePath}/common/get_extra.sh`, '--security-patch']);
|
||||
output.stdout.on('data', (data) => {
|
||||
if (data.includes("not set")) {
|
||||
showPrompt('security_patch_auto_failed', false);
|
||||
}
|
||||
});
|
||||
output.on('exit', (code) => {
|
||||
if (code === 0) {
|
||||
exec(`touch /data/adb/tricky_store/security_patch_auto_config`)
|
||||
// Reset inputs
|
||||
allPatchInput.value = '';
|
||||
systemPatchInput.value = '';
|
||||
bootPatchInput.value = '';
|
||||
vendorPatchInput.value = '';
|
||||
|
||||
checkAdvanced(false);
|
||||
showPrompt('security_patch_auto_success');
|
||||
} else {
|
||||
showPrompt('security_patch_auto_failed', false);
|
||||
}
|
||||
hideSecurityPatchDialog();
|
||||
loadCurrentConfig();
|
||||
});
|
||||
});
|
||||
|
||||
// Save button
|
||||
saveButton.addEventListener('click', async () => {
|
||||
if (jamesFork) {
|
||||
const securityPatchValue = jamesPatchInput.value.trim();
|
||||
const osVersionValue = jamesOsInput.value.trim();
|
||||
|
||||
if (!securityPatchValue) handleSecurityPatch('disable');
|
||||
if (!securityPatchValue && !osVersionValue) {
|
||||
hideSecurityPatchDialog();
|
||||
return;
|
||||
}
|
||||
|
||||
const config = [
|
||||
securityPatchValue ? `securityPatch = \\"${securityPatchValue}\\"` : '',
|
||||
osVersionValue ? `osVersion = ${osVersionValue}` : ''
|
||||
].filter(Boolean).join('\n');
|
||||
handleSecurityPatch('manual', config);
|
||||
} else if (!advancedToggle.checked) {
|
||||
// Normal mode validation
|
||||
const allValue = allPatchInput.value.trim();
|
||||
if (!allValue) {
|
||||
// Save empty value to disable auto config
|
||||
handleSecurityPatch('disable');
|
||||
hideSecurityPatchDialog();
|
||||
return;
|
||||
}
|
||||
if (!isValid8Digit(allValue)) {
|
||||
showPrompt('security_patch_invalid_all', false);
|
||||
return;
|
||||
}
|
||||
const value = `all=${allValue}`;
|
||||
const result = handleSecurityPatch('manual', value);
|
||||
if (result) {
|
||||
// Reset inputs
|
||||
systemPatchInput.value = '';
|
||||
bootPatchInput.value = '';
|
||||
vendorPatchInput.value = '';
|
||||
}
|
||||
} else {
|
||||
// Advanced mode validation
|
||||
const bootValue = formatDate(bootPatchInput, 'boot');
|
||||
const systemValue = systemPatchInput.value.trim();
|
||||
const vendorValue = vendorPatchInput.value.trim();
|
||||
|
||||
if (!bootValue && !systemValue && !vendorValue) {
|
||||
// Save empty values to disable auto config
|
||||
handleSecurityPatch('disable');
|
||||
hideSecurityPatchDialog();
|
||||
return;
|
||||
}
|
||||
|
||||
if (systemValue && !isValid6Digit(systemValue)) {
|
||||
showPrompt('security_patch_invalid_system', false);
|
||||
return;
|
||||
}
|
||||
|
||||
if (bootValue && !isValidDateFormat(bootValue)) {
|
||||
showPrompt('security_patch_invalid_boot', false);
|
||||
return;
|
||||
}
|
||||
|
||||
if (vendorValue && !isValidDateFormat(vendorValue)) {
|
||||
showPrompt('security_patch_invalid_vendor', false);
|
||||
return;
|
||||
}
|
||||
|
||||
const config = [
|
||||
systemValue ? `system=${systemValue}` : '',
|
||||
bootValue ? `boot=${bootValue}` : '',
|
||||
vendorValue ? `vendor=${vendorValue}` : ''
|
||||
].filter(Boolean).join('\n');
|
||||
const result = handleSecurityPatch('manual', config);
|
||||
if (result) {
|
||||
// Reset inputs
|
||||
allPatchInput.value = '';
|
||||
}
|
||||
}
|
||||
hideSecurityPatchDialog();
|
||||
loadCurrentConfig();
|
||||
});
|
||||
|
||||
// Get button
|
||||
getButton.addEventListener('click', async () => {
|
||||
showPrompt('security_patch_fetching');
|
||||
const output = spawn('sh', [`${basePath}/common/get_extra.sh`, '--get-security-patch'],
|
||||
{ cwd: "/data/local/tmp", env: { PATH: "/data/adb/ap/bin:/data/adb/ksu/bin:/data/adb/magisk:/data/data/com.termux/files/usr/bin:$PATH" }});
|
||||
output.stdout.on('data', (data) => {
|
||||
showPrompt('security_patch_fetched', true, 1000);
|
||||
checkAdvanced(true);
|
||||
|
||||
allPatchInput.value = data.replace(/-/g, '');
|
||||
systemPatchInput.value = 'prop';
|
||||
bootPatchInput.value = data;
|
||||
vendorPatchInput.value = data;
|
||||
jamesPatchInput.value = data;
|
||||
});
|
||||
output.stderr.on('data', (data) => {
|
||||
if (data.includes("failed")) {
|
||||
showPrompt('security_patch_unable_to_connect', false);
|
||||
} else {
|
||||
console.error(data);
|
||||
}
|
||||
});
|
||||
output.on('exit', (code) => {
|
||||
if (code !== 0) showPrompt('security_patch_get_failed', false);
|
||||
});
|
||||
});
|
||||
}
|
||||
190
module/webui/scripts/update.js
Normal file
190
module/webui/scripts/update.js
Normal file
@@ -0,0 +1,190 @@
|
||||
import { exec, spawn } from './assets/kernelsu.js';
|
||||
import { basePath, showPrompt, noConnection, linkRedirect } from './main.js';
|
||||
import { updateCard } from './applist.js';
|
||||
|
||||
const updateMenu = document.querySelector('.update-overlay');
|
||||
const updateMenuContent = document.querySelector('.update-menu');
|
||||
const closeUpdate = document.getElementById('close-update');
|
||||
const releaseNotes = document.querySelector('.changelog');
|
||||
const installButton = document.querySelector('.install');
|
||||
const rebootButton = document.querySelector('.reboot');
|
||||
|
||||
let remoteVersionCode, remoteVersion, zipURL, changelogURL, downloading = false;
|
||||
|
||||
// Function to download file
|
||||
function downloadFile(targetURL, fileName) {
|
||||
return new Promise((resolve, reject) => {
|
||||
fetch(targetURL)
|
||||
.then(response => {
|
||||
if (!response.ok) {
|
||||
throw new Error(`HTTP error! status: ${response.status}`);
|
||||
}
|
||||
return response.blob();
|
||||
})
|
||||
.then(blob => {
|
||||
const file = new File([blob], fileName, { type: blob.type });
|
||||
const reader = new FileReader();
|
||||
reader.onload = () => {
|
||||
const base64Data = reader.result.split(',')[1];
|
||||
exec(`echo ${base64Data} | base64 -d > ${basePath}/common/tmp/${fileName}`)
|
||||
.then(({ errno, stderr }) => {
|
||||
errno === 0 ? resolve() : reject(stderr);
|
||||
});
|
||||
};
|
||||
reader.readAsDataURL(file);
|
||||
})
|
||||
.catch(reject);
|
||||
});
|
||||
}
|
||||
|
||||
// Function to check for updates
|
||||
export async function updateCheck() {
|
||||
try {
|
||||
const response = await fetch("https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/update.json")
|
||||
.catch(async () => {
|
||||
return fetch("https://raw.gitmirror.com/KOWX712/Tricky-Addon-Update-Target-List/main/update.json");
|
||||
});
|
||||
if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);
|
||||
noConnection.style.display = "none";
|
||||
const data = await response.json();
|
||||
remoteVersionCode = data.versionCode;
|
||||
remoteVersion = data.version;
|
||||
zipURL = data.zipUrl;
|
||||
changelogURL = data.changelog;
|
||||
|
||||
const output = spawn('sh', [`${basePath}/common/get_extra.sh`, '--check-update', `${remoteVersionCode}`]);
|
||||
output.stdout.on('data', (data) => {
|
||||
if (data.includes("update")) {
|
||||
showPrompt("prompt_new_update", true, 1500);
|
||||
updateCard.style.display = "flex";
|
||||
setupUpdateMenu();
|
||||
}
|
||||
});
|
||||
} catch (error) {
|
||||
console.error("Error fetching JSON or executing command:", error);
|
||||
showPrompt("prompt_no_internet", false);
|
||||
noConnection.style.display = "flex";
|
||||
}
|
||||
}
|
||||
|
||||
// Function to render changelog
|
||||
function renderChangelog() {
|
||||
exec(`sh ${basePath}/common/get_extra.sh --release-note ${remoteVersion}`)
|
||||
.then(({ stdout }) => {
|
||||
window.linkRedirect = linkRedirect;
|
||||
marked.setOptions({
|
||||
sanitize: true,
|
||||
walkTokens(token) {
|
||||
if (token.type === 'link') {
|
||||
const href = token.href;
|
||||
token.href = "javascript:void(0);";
|
||||
token.type = "html";
|
||||
token.text = `<a href="javascript:void(0);" onclick="linkRedirect('${href}')">${token.text}</a>`;
|
||||
}
|
||||
}
|
||||
});
|
||||
const cleanedChangelog = stdout
|
||||
.split('\n')
|
||||
.filter(line => line.trim() !== '')
|
||||
.join('\n');
|
||||
const formattedChangelog = marked.parse(cleanedChangelog);
|
||||
releaseNotes.innerHTML = formattedChangelog;
|
||||
});
|
||||
}
|
||||
|
||||
// Function to setup update menu
|
||||
function setupUpdateMenu() {
|
||||
function openUpdateMenu() {
|
||||
updateMenu.style.display = "flex";
|
||||
setTimeout(async () => {
|
||||
updateMenu.style.opacity = "1";
|
||||
updateMenuContent.classList.add('open');
|
||||
}, 10);
|
||||
document.body.classList.add("no-scroll");
|
||||
}
|
||||
function closeUpdateMenu() {
|
||||
updateMenu.style.opacity = "0";
|
||||
updateMenuContent.classList.remove('open');
|
||||
document.body.classList.remove("no-scroll");
|
||||
setTimeout(async () => {
|
||||
updateMenu.style.display = "none";
|
||||
}, 200);
|
||||
}
|
||||
|
||||
// Update card
|
||||
updateCard.addEventListener('click', async () => {
|
||||
const { stdout } = await exec(`
|
||||
[ -f ${basePath}/common/tmp/module.zip ] || echo "noModule"
|
||||
[ -f ${basePath}/common/tmp/changelog.md ] || echo "noChangelog"
|
||||
[ ! -f /data/adb/modules/TA_utl/update ] || echo "updated"
|
||||
`);
|
||||
if (stdout.trim().includes("updated")) {
|
||||
installButton.style.display = "none";
|
||||
rebootButton.style.display = "flex";
|
||||
openUpdateMenu();
|
||||
} else if (stdout.trim().includes("noChangelog")) {
|
||||
showPrompt("prompt_downloading");
|
||||
await downloadFile(changelogURL, "changelog.md");
|
||||
renderChangelog();
|
||||
openUpdateMenu();
|
||||
setTimeout(() => {
|
||||
updateCard.click();
|
||||
}, 200);
|
||||
} else if (stdout.trim().includes("noModule")) {
|
||||
if (downloading) return;
|
||||
downloading = true;
|
||||
const download = spawn('sh', [`${basePath}/common/get_extra.sh`, '--get-update', `${zipURL}`],
|
||||
{ env: { PATH: "$PATH:/data/adb/ap/bin:/data/adb/ksu/bin:/data/adb/magisk:/data/data/com.termux/files/usr/bin" } });
|
||||
download.on('exit', (code) => {
|
||||
downloading = false;
|
||||
if (code === 0) {
|
||||
showPrompt("prompt_downloaded");
|
||||
installButton.style.display = "flex";
|
||||
} else {
|
||||
showPrompt("prompt_download_fail", false);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
installButton.style.display = "flex";
|
||||
renderChangelog();
|
||||
openUpdateMenu();
|
||||
}
|
||||
});
|
||||
|
||||
// Close update menu
|
||||
closeUpdate.addEventListener("click", closeUpdateMenu);
|
||||
updateMenu.addEventListener("click", (event) => {
|
||||
if (event.target === updateMenu) closeUpdateMenu();
|
||||
});
|
||||
|
||||
// Install button
|
||||
installButton.addEventListener('click', async () => {
|
||||
showPrompt("prompt_installing");
|
||||
const output = spawn('sh', [`${basePath}/common/get_extra.sh`, '--install-update'],
|
||||
{ env: { PATH: "$PATH:/data/adb/ap/bin:/data/adb/ksu/bin:/data/adb/magisk" } });
|
||||
output.stderr.on('data', (data) => {
|
||||
console.error('Error during installation:', data);
|
||||
});
|
||||
output.on('exit', (code) => {
|
||||
if (code === 0) {
|
||||
showPrompt("prompt_installed");
|
||||
installButton.style.display = "none";
|
||||
rebootButton.style.display = "flex";
|
||||
} else {
|
||||
showPrompt("prompt_install_fail", false);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Reboot button
|
||||
rebootButton.addEventListener('click', async () => {
|
||||
try {
|
||||
showPrompt("prompt_rebooting");
|
||||
await new Promise(resolve => setTimeout(resolve, 1000));
|
||||
await exec("svc power reboot");
|
||||
} catch (error) {
|
||||
showPrompt("prompt_reboot_fail", false);
|
||||
console.error('Fail to reboot:', error);
|
||||
}
|
||||
});
|
||||
}
|
||||
86
module/webui/styles/about.css
Normal file
86
module/webui/styles/about.css
Normal file
@@ -0,0 +1,86 @@
|
||||
.about-overlay {
|
||||
z-index: 1100;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.about-menu {
|
||||
position: relative;
|
||||
width: calc(90vw - 60px);
|
||||
max-width: 800px;
|
||||
background-color: var(--bg-secondary);
|
||||
border-radius: 15px;
|
||||
padding: 30px;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.link,
|
||||
.about-menu p {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#module_name_line1 {
|
||||
font-size: 26px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#module_name_line2 {
|
||||
font-size: 22px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#authored {
|
||||
font-size: 14px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#disclaimer {
|
||||
font-family: serif;
|
||||
width: calc(100% - 20px);
|
||||
padding: 8px 10px;
|
||||
border-radius: 10px;
|
||||
background-color: var(--border-color);
|
||||
}
|
||||
|
||||
#acknowledgment {
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.link-icon {
|
||||
font-size: 17px;
|
||||
font-weight: bold;
|
||||
min-height: calc(1em + 15px);
|
||||
padding: 3px 10px;
|
||||
color: #fff;
|
||||
fill: #fff;
|
||||
user-select: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
font-style: normal;
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 5px;
|
||||
transition: background-color 0.2s ease;
|
||||
|
||||
svg {
|
||||
padding-right: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
#telegram {
|
||||
background-color: #38A7ED;
|
||||
}
|
||||
|
||||
#github {
|
||||
background-color: #606060;
|
||||
}
|
||||
|
||||
#canary {
|
||||
background-color: #821284;
|
||||
}
|
||||
358
module/webui/styles/applist.css
Normal file
358
module/webui/styles/applist.css
Normal file
@@ -0,0 +1,358 @@
|
||||
.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: var(--border-color);
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
box-sizing: border-box;
|
||||
margin: 0 auto;
|
||||
margin-bottom: 10px;
|
||||
outline: none;
|
||||
padding: 12px;
|
||||
width: calc(100% - 20px);
|
||||
max-width: 900px;
|
||||
}
|
||||
|
||||
#update-available {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 0;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#redirect-to-release {
|
||||
text-align: center;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 15px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.update-overlay {
|
||||
z-index: 1800;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.update-menu {
|
||||
position: relative;
|
||||
width: calc(90% - 60px);
|
||||
max-width: 800px;
|
||||
background-color: var(--bg-secondary);
|
||||
padding: 30px;
|
||||
border-radius: 15px;
|
||||
text-align: left;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.update-content h1,
|
||||
.update-content h3 {
|
||||
margin: 10px 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.update-content h3 {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.changelog {
|
||||
max-height: 65vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.changelog ul {
|
||||
padding-left: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.changelog ul li {
|
||||
margin-left: 15px;
|
||||
margin-bottom: 5px;
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
.changelog a {
|
||||
color: var(--text-secondary);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.changelog a:active {
|
||||
color: var(--btn-primary);
|
||||
}
|
||||
|
||||
.update-button-container {
|
||||
width: 100%;
|
||||
margin-top: 20px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.install,
|
||||
.reboot {
|
||||
display: none;
|
||||
justify-content: center;
|
||||
font-weight: bold;
|
||||
color: var(--text-primary);
|
||||
background-color: var(--border-color);
|
||||
width: 100%;
|
||||
border: none;
|
||||
padding: 12px;
|
||||
border-radius: 12px;
|
||||
font-size: 18px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.reboot {
|
||||
color: var(--btn-primary-text);
|
||||
background-color: var(--btn-primary);
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: var(--bg-secondary);
|
||||
border: none;
|
||||
box-sizing: border-box;
|
||||
border-radius: 12px;
|
||||
margin: 0 auto;
|
||||
margin-bottom: 10px;
|
||||
outline: none;
|
||||
padding: 12px;
|
||||
width: calc(100% - 20px);
|
||||
max-width: 900px;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.mode {
|
||||
display: none;
|
||||
flex-direction: row;
|
||||
gap: 10px;
|
||||
padding: 10px 12px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: auto;
|
||||
width: fit-content;
|
||||
background-color: var(--border-color);
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
||||
border-radius: 50px 50px;
|
||||
opacity: 0;
|
||||
transform: scale(0);
|
||||
transition: all 0.2s ease;
|
||||
z-index: 1200;
|
||||
}
|
||||
|
||||
.mode.show {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.mode-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: none;
|
||||
z-index: 1100;
|
||||
}
|
||||
|
||||
.mode-switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.mode-input {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.status-indicator {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50px 50px;
|
||||
box-sizing: border-box;
|
||||
transition: all 0.2s ease;
|
||||
border: 3px solid transparent;
|
||||
}
|
||||
|
||||
#normal-indicator {
|
||||
background-color: var(--btn-primary);
|
||||
}
|
||||
|
||||
#hack-indicator {
|
||||
background-color: #FF8400;
|
||||
}
|
||||
|
||||
#generate-indicator {
|
||||
background-color: #36DB2B;
|
||||
}
|
||||
|
||||
.mode-input[type="radio"]:checked ~ .mode-icon .status-indicator {
|
||||
transform: scale(1.1);
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
.name {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0;
|
||||
font-size: 15.5px;
|
||||
max-width: calc(100% - 30px);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.app-info {
|
||||
display: inline-block;
|
||||
overflow-wrap: break-word;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.app-icon-container {
|
||||
flex-shrink: 0;
|
||||
height: 3em;
|
||||
width: 3em;
|
||||
margin-right: 10px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.loader {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, var(--surfaceContainer), var(--surfaceContainerHigh), var(--surfaceContainer));
|
||||
background-size: 200% 100%;
|
||||
animation: shimmer 1.2s infinite linear;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.app-icon {
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
@keyframes shimmer {
|
||||
0% {
|
||||
background-position: -200% 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
background-position: 200% 0;
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.custom-checkbox {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 2px solid #ccc;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
transition: border-color 1s ease, transform 0.3s ease, background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.tick-symbol {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%) scale(0);
|
||||
opacity: 0;
|
||||
transition: transform 0.2s ease-out, opacity 0.3s ease;
|
||||
|
||||
svg {
|
||||
fill: var(--btn-primary-text);
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox:checked + .custom-checkbox {
|
||||
border-color: var(--btn-primary);
|
||||
background-color: var(--btn-primary);
|
||||
transition: border-color 0.1s ease;
|
||||
animation: checked-bounce 0.3s ease-out;
|
||||
}
|
||||
|
||||
.checkbox-checked-generate:checked + .custom-checkbox {
|
||||
border-color: #36DB2B;
|
||||
background-color: #36DB2B;
|
||||
}
|
||||
|
||||
.checkbox-checked-hack:checked + .custom-checkbox {
|
||||
border-color: #FF8400;
|
||||
background-color: #FF8400;
|
||||
}
|
||||
|
||||
.checkbox:not(:checked) + .custom-checkbox {
|
||||
animation: unchecked-bounce 0.3s ease-out;
|
||||
}
|
||||
|
||||
.checkbox:checked + .custom-checkbox .tick-symbol {
|
||||
transform: translate(-50%, -50%) scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@keyframes checked-bounce {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
transform: scale(0.8);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes unchecked-bounce {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
transform: scale(0.8);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
53
module/webui/styles/boot_hash.css
Normal file
53
module/webui/styles/boot_hash.css
Normal file
@@ -0,0 +1,53 @@
|
||||
.boot-hash-overlay {
|
||||
z-index: 1200;
|
||||
}
|
||||
|
||||
.boot-hash-card {
|
||||
position: fixed;
|
||||
top: 10%;
|
||||
width: calc(90% - 60px);
|
||||
max-width: 300px;
|
||||
height: fit-content;
|
||||
background-color: var(--bg-secondary);
|
||||
border-radius: 18px;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
|
||||
padding: 30px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.boot-hash-title {
|
||||
width: 100%;
|
||||
font-size: 26px;
|
||||
text-align: center;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.boot-hash-input {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
font-size: 16px;
|
||||
padding: 10px;
|
||||
color: var(--text-primary);
|
||||
background-color: var(--bg-primary);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 10px;
|
||||
box-sizing: border-box;
|
||||
outline-color: var(--btn-primary);
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.boot-hash-save-button {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
background-color: var(--btn-primary);
|
||||
color: var(--btn-primary-text);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
user-select: none;
|
||||
}
|
||||
87
module/webui/styles/file_selector.css
Normal file
87
module/webui/styles/file_selector.css
Normal file
@@ -0,0 +1,87 @@
|
||||
.file-selector-overlay {
|
||||
z-index: 2000;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.file-selector {
|
||||
width: 90%;
|
||||
max-width: 600px;
|
||||
height: 80vh;
|
||||
color: var(--text-primary);
|
||||
background-color: var(--bg-secondary);
|
||||
border-radius: 15px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.file-selector-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
border-bottom: 2px solid var(--border-color);
|
||||
}
|
||||
|
||||
.current-path .separator {
|
||||
color: var(--text-secondary);
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
.back-button {
|
||||
background: none;
|
||||
border: none;
|
||||
fill: var(--border-color);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.current-path {
|
||||
flex-grow: 1;
|
||||
font-size: 16px;
|
||||
overflow: scroll;
|
||||
white-space: nowrap;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.close-selector {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 20px;
|
||||
color: var(--border-color);
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.file-list {
|
||||
flex-grow: 1;
|
||||
overflow-y: auto;
|
||||
padding: 10px;
|
||||
transition: transform 0.3s ease, opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.file-list.switching {
|
||||
transform: scale(0.95);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.file-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.file-item svg {
|
||||
flex-shrink: 0;
|
||||
margin-right: 10px;
|
||||
fill: var(--text-secondary);
|
||||
}
|
||||
|
||||
.file-item span {
|
||||
flex-grow: 1;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
267
module/webui/styles/global.css
Normal file
267
module/webui/styles/global.css
Normal file
@@ -0,0 +1,267 @@
|
||||
@import url('https://mui.kernelsu.org/mmrl/insets.css');
|
||||
@import url('https://mui.kernelsu.org/mmrl/colors.css');
|
||||
|
||||
:root {
|
||||
--top-inset: var(--window-inset-top, 0px);
|
||||
--bottom-inset: var(--window-inset-bottom, 0px);
|
||||
|
||||
/* Background colors */
|
||||
--bg-primary: var(--background, #F5F5F5);
|
||||
--bg-secondary: var(--tonalSurface, #fff);
|
||||
--bg-input: var(--surfaceBright, #F5F5F5);
|
||||
|
||||
/* Text colors */
|
||||
--text-primary: var(--onSurface, #000);
|
||||
--text-secondary: var(--onSurfaceVariant, #757575);
|
||||
|
||||
/* Border colors */
|
||||
--border-color: var(--outlineVariant, #ccc);
|
||||
|
||||
/* Button colors */
|
||||
--btn-primary: var(--primary, #007bff);
|
||||
--btn-primary-text: var(--onPrimary, #fff);
|
||||
--btn-uninstall: var(--error, #FF3636);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
/* Background colors */
|
||||
--bg-primary: var(--background, #151515);
|
||||
--bg-secondary: var(--tonalSurface, #292929);
|
||||
--bg-input: var(--surfaceBright, #1b1b1b);
|
||||
|
||||
/* Text colors */
|
||||
--text-primary: var(--onSurface, #fff);
|
||||
--text-secondary: var(--onSurfaceVariant, #C2C2C2);
|
||||
|
||||
/* Border colors */
|
||||
--border-color: var(--outlineVariant, #636363);
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
color: var(--text-primary);
|
||||
background-color: var(--bg-primary);
|
||||
padding-top: var(--top-inset);
|
||||
padding-bottom: var(--bottom-inset);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.no-scroll {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.floating-card {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
bottom: calc(var(--bottom-inset) + 50px);
|
||||
transition: transform 0.4s ease;
|
||||
pointer-events: none;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.floating-btn {
|
||||
color: var(--btn-primary-text);
|
||||
background-color: var(--btn-primary);
|
||||
border: none;
|
||||
box-shadow: 0 4px 8px #0003;
|
||||
display: none;
|
||||
bottom: 0;
|
||||
padding: 10px 20px;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
border-radius: 50px 50px;
|
||||
user-select: none;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
backdrop-filter: blur(5px);
|
||||
display: none;
|
||||
justify-content: center;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.overlay-content {
|
||||
transform: scale(0.8);
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.overlay-content.open {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.close-btn {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 12px;
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 18px;
|
||||
color: var(--border-color);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.prompt {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 10px;
|
||||
background-color: #4CAF50;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
color: white;
|
||||
font-size: 15px;
|
||||
padding: 5px 10px;
|
||||
z-index: 2050;
|
||||
width: auto;
|
||||
max-width: calc(100% - 40px);
|
||||
transform: translateY(100%);
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.prompt.error {
|
||||
background-color: #f44336;
|
||||
}
|
||||
|
||||
.loading {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
color: #6E6E6E;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 24px;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.footer {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 100px;
|
||||
}
|
||||
|
||||
.uninstall-container {
|
||||
padding: 8px;
|
||||
width: calc(100% - 20px);
|
||||
max-width: 900px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: 12px;
|
||||
border: 3px solid var(--btn-uninstall);
|
||||
box-sizing: border-box;
|
||||
background-color: var(--bg-primary);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
user-select: none;
|
||||
|
||||
svg {
|
||||
fill: var(--btn-uninstall);
|
||||
}
|
||||
}
|
||||
|
||||
.uninstall-container i {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.uninstall-container span {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: var(--btn-uninstall);
|
||||
}
|
||||
|
||||
.uninstall-container.hidden-uninstall {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.uninstall-confirmation-overlay {
|
||||
align-items: center;
|
||||
z-index: 2000;
|
||||
}
|
||||
|
||||
.uninstall-confirmation {
|
||||
width: 90%;
|
||||
max-width: 600px;
|
||||
max-height: 80%;
|
||||
overflow-y: auto;
|
||||
background-color: var(--bg-secondary);
|
||||
border-radius: 15px;
|
||||
padding: 30px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.uninstall-confirmation p {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.uninstall-confirmation-title {
|
||||
font-size: 26px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.uninstall-confirmation-button-container {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
gap: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.uninstall-confirmation-button {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
user-select: none;
|
||||
color: var(--text-primary);
|
||||
background-color: var(--border-color);
|
||||
}
|
||||
|
||||
#confirm-uninstall {
|
||||
color: var(--btn-primary-text);
|
||||
background-color: var(--btn-primary);
|
||||
}
|
||||
|
||||
.blur-box {
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.ripple-element {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ripple {
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
transform: scale(0);
|
||||
opacity: 1;
|
||||
animation: ripple-animation ease-out forwards;
|
||||
pointer-events: none;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.ripple.end {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
@keyframes ripple-animation {
|
||||
to {
|
||||
transform: scale(3);
|
||||
}
|
||||
}
|
||||
165
module/webui/styles/header.css
Normal file
165
module/webui/styles/header.css
Normal file
@@ -0,0 +1,165 @@
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding: 0 5px;
|
||||
padding-top: var(--top-inset);
|
||||
height: 40px;
|
||||
width: calc(100% - 10px);
|
||||
max-width: 1100px;
|
||||
background-color: var(--bg-primary);
|
||||
transition: transform 0.4s ease;
|
||||
z-index: 1100;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#module-version,
|
||||
#title {
|
||||
padding-left: 5px;
|
||||
font-size: 16.5px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.no-connection {
|
||||
padding: 0;
|
||||
display: none;
|
||||
margin-right: 0px;
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.language-dropdown {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.language-button {
|
||||
padding-top: 5px;
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.language-icon {
|
||||
fill: var(--text-primary);
|
||||
}
|
||||
|
||||
.language-menu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
background-color: var(--bg-secondary);
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
||||
z-index: 1800;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
opacity: 0;
|
||||
max-height: calc(100vh - 50px);
|
||||
overflow-y: auto;
|
||||
transform: translateY(-30px) scale(0);
|
||||
transform-origin: top right;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.language-menu.show {
|
||||
opacity: 1;
|
||||
transform: translateY(0) scale(1);
|
||||
}
|
||||
|
||||
.language-option {
|
||||
flex-shrink: 0;
|
||||
padding: 8px 10px;
|
||||
text-align: center;
|
||||
color: var(--text-primary);
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
font-size: 16px;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
position: relative;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.language-option::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 10px;
|
||||
width: calc(100% - 20px);
|
||||
height: 1px;
|
||||
background-color: var(--border-color);
|
||||
}
|
||||
|
||||
.language-option:last-child::after {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.language-option:first-child {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.language-option:last-child {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.language-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: none;
|
||||
z-index: 1100;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.help-button {
|
||||
padding-left: 5px;
|
||||
margin-right: auto;
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.help-overlay {
|
||||
z-index: 2000;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.help-menu {
|
||||
position: relative;
|
||||
width: calc(95vw - 60px);
|
||||
max-width: 800px;
|
||||
background-color: var(--bg-secondary);
|
||||
padding: 30px;
|
||||
border-radius: 15px;
|
||||
text-align: left;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.help-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
max-height: calc(85vh - 60px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.help-content-header {
|
||||
font-size: 26px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.instruction strong {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.instruction p {
|
||||
margin: 0;
|
||||
}
|
||||
170
module/webui/styles/search_menu.css
Normal file
170
module/webui/styles/search_menu.css
Normal file
@@ -0,0 +1,170 @@
|
||||
.search-menu-container {
|
||||
display: flex;
|
||||
position: fixed;
|
||||
top: calc(var(--top-inset) + 40px);
|
||||
height: 50px;
|
||||
width: calc(100% - 20px);
|
||||
max-width: 1100px;
|
||||
z-index: 1000;
|
||||
transition: transform 0.4s ease;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.search-card {
|
||||
background-color: var(--bg-secondary);
|
||||
border: 1px solid var(--border-color);
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 50px;
|
||||
left: 0;
|
||||
height: calc(100% - 2px);
|
||||
width: calc(100% - 60px);
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
position: absolute;
|
||||
padding-top: 5px;
|
||||
left: 15px;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.search-input {
|
||||
position: absolute;
|
||||
border: none;
|
||||
color: var(--text-primary);
|
||||
background-color: transparent;
|
||||
font-size: 17px;
|
||||
outline: none;
|
||||
left: 10px;
|
||||
padding: 0 30px;
|
||||
width: calc(100% - 80px);
|
||||
}
|
||||
|
||||
.clear-btn {
|
||||
position: absolute;
|
||||
color: var(--border-color);
|
||||
padding-bottom: 3px;
|
||||
right: 10px;
|
||||
border: none;
|
||||
background: none;
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
display: none;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.menu {
|
||||
display: flex;
|
||||
right: 0;
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.menu-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-button {
|
||||
background-color: var(--bg-secondary);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
width: 48px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
z-index: 200;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
display: inline-block;
|
||||
fill: var(--text-primary);
|
||||
transform: rotate(0deg);
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.menu-icon.menu-open {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.menu-options {
|
||||
background-color: var(--bg-secondary);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
position: absolute;
|
||||
top: 110%;
|
||||
right: 0;
|
||||
z-index: 1200;
|
||||
width: auto;
|
||||
max-height: calc(100vh - 120px);
|
||||
overflow-y: auto;
|
||||
white-space: nowrap;
|
||||
visibility: hidden;
|
||||
transform: translateX(120%);
|
||||
transition: all 0.2s ease;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#shortcut,
|
||||
#select-denylist,
|
||||
#security-patch {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-options.visible {
|
||||
display: block;
|
||||
visibility: visible;
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.menu-options ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.menu-options li {
|
||||
padding: 12px 15px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.menu-options li::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 15px;
|
||||
width: calc(100% - 30px);
|
||||
height: 1px;
|
||||
background-color: var(--border-color);
|
||||
}
|
||||
|
||||
.menu-options li:last-child::after {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.menu-options li:first-child {
|
||||
padding-top: 16px;
|
||||
}
|
||||
|
||||
.menu-options li:last-child {
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
|
||||
.menu-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: none;
|
||||
z-index: 100;
|
||||
display: none;
|
||||
}
|
||||
148
module/webui/styles/security_patch.css
Normal file
148
module/webui/styles/security_patch.css
Normal file
@@ -0,0 +1,148 @@
|
||||
.security-patch-overlay {
|
||||
z-index: 2000;
|
||||
}
|
||||
|
||||
.security-patch-card {
|
||||
display: block;
|
||||
position: fixed;
|
||||
top: 10%;
|
||||
color: var(--text-primary);
|
||||
background-color: var(--bg-secondary);
|
||||
padding: 30px;
|
||||
border-radius: 15px;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
|
||||
width: calc(90% - 60px);
|
||||
max-width: 300px;
|
||||
max-height: calc(80% - 60px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.security-patch-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.security-patch-header {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-size: 26px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.advanced-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.advanced-toggle .checkbox-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.advanced-toggle .checkbox {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.advanced-toggle .custom-checkbox {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 2px solid var(--border-color);
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
transition: border-color 1s ease, transform 0.3s ease, background-color 0.4s ease;
|
||||
}
|
||||
|
||||
.advanced-toggle .tick-symbol {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%) scale(0);
|
||||
opacity: 0;
|
||||
transition: transform 0.2s ease-out, opacity 0.3s ease;
|
||||
|
||||
svg {
|
||||
fill: var(--btn-primary-text);
|
||||
}
|
||||
}
|
||||
|
||||
.advanced-toggle .checkbox:checked + .custom-checkbox {
|
||||
border-color: var(--btn-primary);
|
||||
background-color: var(--btn-primary);
|
||||
transition: border-color 0.1s ease;
|
||||
animation: checked-bounce 0.3s ease-out;
|
||||
}
|
||||
|
||||
.advanced-toggle .checkbox:checked + .custom-checkbox .tick-symbol {
|
||||
transform: translate(-50%, -50%) scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.input-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.input-group label {
|
||||
padding-top: 10px;
|
||||
font-size: 14px;
|
||||
color: var(--text-secondary);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.input-group input {
|
||||
padding: 15px;
|
||||
color: var(--text-primary);
|
||||
background-color: var(--bg-primary);
|
||||
border: 1px solid var(--border-color);
|
||||
outline-color: var(--btn-primary);
|
||||
border-radius: 10px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.button-container {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
gap: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.get-button,
|
||||
.auto-button,
|
||||
.save-button {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.get-button,
|
||||
.auto-button {
|
||||
color: var(--text-primary);
|
||||
background-color: var(--border-color);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.save-button {
|
||||
background-color: var(--btn-primary);
|
||||
color: var(--btn-primary-text);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
104
module/webui/styles/system_app.css
Normal file
104
module/webui/styles/system_app.css
Normal file
@@ -0,0 +1,104 @@
|
||||
.add-system-app-overlay {
|
||||
z-index: 2000;
|
||||
}
|
||||
|
||||
.add-system-app-card {
|
||||
position: fixed;
|
||||
display: flex;
|
||||
top: 10%;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: calc(90vw - 60px);
|
||||
max-width: 400px;
|
||||
max-height: calc(80vh - 60px);
|
||||
overflow-y: auto;
|
||||
padding: 30px;
|
||||
background-color: var(--bg-secondary);
|
||||
border-radius: 15px;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.add-system-app-title {
|
||||
text-align: center;
|
||||
font-size: 26px;
|
||||
user-select: none;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.add-system-app-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.add-system-app-content input {
|
||||
width: 100%;
|
||||
padding: 15px;
|
||||
color: var(--text-primary);
|
||||
background-color: var(--bg-primary);
|
||||
border: 1px solid var(--border-color);
|
||||
outline-color: var(--btn-primary);
|
||||
border-radius: 10px;
|
||||
box-sizing: border-box;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.add-system-app-button {
|
||||
margin-top: 15px;
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
background-color: var(--btn-primary);
|
||||
color: var(--btn-primary-text);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.current-system-app-list {
|
||||
text-align: center;
|
||||
margin-top: 25px;
|
||||
margin-bottom: 10px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.current-system-app-list-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.system-app-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
padding: 10px;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.system-app-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.remove-system-app-button {
|
||||
flex-shrink: 0;
|
||||
margin-left: 10px;
|
||||
background-color: #e84d4d;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
136
more-exclude.json
Normal file
136
more-exclude.json
Normal file
@@ -0,0 +1,136 @@
|
||||
{
|
||||
"description": "Unnecessary app list",
|
||||
"data": [
|
||||
{
|
||||
"info": "Root manager",
|
||||
"apps": [
|
||||
{
|
||||
"name": "Magisk",
|
||||
"package-name": "com.topjohnwu.magisk"
|
||||
},
|
||||
{
|
||||
"name": "Magisk Alpha",
|
||||
"package-name": "io.github.vvb2060.magisk"
|
||||
},
|
||||
{
|
||||
"name": "Kitsune Mask",
|
||||
"package-name": "io.github.huskydg.magisk"
|
||||
},
|
||||
{
|
||||
"name": "KernelSU",
|
||||
"package-name": "me.weishu.kernelsu"
|
||||
},
|
||||
{
|
||||
"name": "KernelSU Next",
|
||||
"package-name": "com.rifsxd.ksunext"
|
||||
},
|
||||
{
|
||||
"name": "SukiSU Ultra",
|
||||
"package-name": "com.sukisu.ultra"
|
||||
},
|
||||
{
|
||||
"name": "Apatch",
|
||||
"package-name": "me.bmax.apatch"
|
||||
},
|
||||
{
|
||||
"name": "Apatch Next",
|
||||
"package-name": "me.garfieldhan.apatch.next"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"info": "Root related app that won't detect bootloader",
|
||||
"apps": [
|
||||
{
|
||||
"name": "LSPosed Manager",
|
||||
"package-name": "org.lsposed.manager"
|
||||
},
|
||||
{
|
||||
"name": "Termux",
|
||||
"package-name": "com.termux"
|
||||
},
|
||||
{
|
||||
"name": "MT Manager",
|
||||
"package-name": "bin.mt.plus"
|
||||
},
|
||||
{
|
||||
"name": "MT Manager clone",
|
||||
"package-name": "bin.mt.plus.canary"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"name": "WebUI X",
|
||||
"package-name": "com.dergoogler.mmrl.wx"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"info": "General app that won't detect bootloader",
|
||||
"apps": [
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
8
update.json
Executable file → Normal file
8
update.json
Executable file → Normal file
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"versionCode": 160,
|
||||
"version": "v1.6",
|
||||
"zipUrl": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/download/v1.6/TrickyAddonModule-v1.6.zip",
|
||||
"changelog": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/refs/heads/master/changelog.md"
|
||||
"versionCode": 538,
|
||||
"version": "v4.0",
|
||||
"zipUrl": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/download/v4.0/TrickyAddonModule-v4.0.zip",
|
||||
"changelog": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/changelog.md"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user