Skip to content

Commit a20d991

Browse files
committed
4.0 release
1 parent 8d53dde commit a20d991

File tree

7 files changed

+42
-8
lines changed

7 files changed

+42
-8
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
- name: Checkout code
115115
uses: actions/checkout@v4
116116
with:
117-
fetch-depth: 2
117+
fetch-depth: 0
118118

119119
- name: Set release variables
120120
id: set_release_variables
@@ -141,6 +141,20 @@ jobs:
141141
echo "EOF" >> $GITHUB_ENV
142142
echo "PRERELEASE=$PRERELEASE" >> $GITHUB_ENV
143143
144+
- name: Update update.json
145+
run: |
146+
COMMIT_NUM=$(git rev-list --count HEAD)
147+
sed -i "s/\"versionCode\":.*/\"versionCode\": ${COMMIT_NUM},/" update.json
148+
sed -i "s/^versionCode=.*/versionCode=${COMMIT_NUM}/" module/module.prop
149+
150+
git config --global user.email "[email protected]"
151+
git config --global user.name "KOWX712"
152+
git remote set-url origin "https://${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }}.git"
153+
154+
git add update.json module/module.prop
155+
git commit --amend --no-edit
156+
git push --force
157+
144158
- name: Compress module folder
145159
run: |
146160
cd module && zip -r "../${{ env.ZIP_NAME }}" ./*

.github/workflows/crowdin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
create_pull_request: true
3030
localization_branch_name: crowdin_branch
31-
pull_request_labels: 'enhancement, documentation'
31+
pull_request_labels: 'enhancement, translation'
3232
pull_request_title: 'opt: sync translation from Crowdin'
3333

3434
config: 'crowdin.yml'

changelog.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ GitHub release: [Tricky Addon: Update Target List](https://github.com/KOWX712/Tr
88
Telegram channel: [KOW's Little World](https://t.me/kowchannel)
99

1010
## Changelog
11+
### v4.0
12+
- **WebUI:** Fixed `Failed to fetch secutiry patch` issue in most condition.
13+
- **WebUI:** Added support for [qwq233's TrickyStore fork](https://github.com/qwq233/TrickyStore).
14+
- **WebUI:** Provide option to download latest canary version in about menu.
15+
- **action:** Removed MMRL from action redirect WebUI since MMRL no longer provide built-in WebUI. (#66, @ThanhCN0)
16+
- **WebUI:** Unknown keybox option no longer rely on internet connection.
17+
- **WebUI:** Fixed built-in update mechanism might fail in some condition. (@backslashxx)
18+
- **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.
19+
- **WebUI:** Added Ukrainian (#43, @StepanSad), Greek (#61, @Goku818) translation.
20+
- **WebUI:** Updated Japanese, Indonesian, Arabic, Polish, French, Portuguese, Ukrainian translation. (@reindex-ot, @Rem01Gaming, @ZG089, @Bladius2024, @GhostFRR, @SecretGogeta, [crowdin@IlliaS](https://crowdin.com/profile/illias))
21+
1122
### v3.9
1223
- **WebUI:** Optmized app loading speed, fixed all known freezing issue.
1324
- **WebUI:** Added unknown keybox option, similar to AOSP keybox, removed AOSP keybox fallback when no valid keybox available.

module/module.prop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id=TA_utl
22
name=Tricky Addon - Update Target List
3-
version=v3.9
4-
versionCode=390
3+
version=v4.0
4+
versionCode=538
55
author=KOWX712
66
description=A WebUI to conifgure tricky store target.txt
77
updateJson=https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/update.json

module/webui/locales/GUIDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Update Existing Language
44

55
- Update translation in [Crowdin](https://crowdin.com/project/TA_utl).
6+
- 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.
67

78
---
89

more-exclude.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
"name": "KernelSU Next",
2525
"package-name": "com.rifsxd.ksunext"
2626
},
27+
{
28+
"name": "SukiSU Ultra",
29+
"package-name": "com.sukisu.ultra"
30+
},
2731
{
2832
"name": "Apatch",
2933
"package-name": "me.bmax.apatch"
@@ -68,6 +72,10 @@
6872
{
6973
"name": "MMRL",
7074
"package-name": "com.dergoogler.mmrl"
75+
},
76+
{
77+
"name": "WebUI X",
78+
"package-name": "com.dergoogler.mmrl.wx"
7179
}
7280
]
7381
},

update.json

100755100644
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"versionCode": 390,
3-
"version": "v3.9",
4-
"zipUrl": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/download/v3.9/TrickyAddonModule-v3.9.zip",
2+
"versionCode": 538,
3+
"version": "v4.0",
4+
"zipUrl": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/download/v4.0/TrickyAddonModule-v4.0.zip",
55
"changelog": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/changelog.md"
6-
}
6+
}

0 commit comments

Comments
 (0)