diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96e9473..f6f6681 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -114,7 +114,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 with: - fetch-depth: 2 + fetch-depth: 0 - name: Set release variables id: set_release_variables @@ -141,6 +141,20 @@ jobs: 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 }}" ./* diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index 96368a5..2a45c3e 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -28,7 +28,7 @@ jobs: create_pull_request: true localization_branch_name: crowdin_branch - pull_request_labels: 'enhancement, documentation' + pull_request_labels: 'enhancement, translation' pull_request_title: 'opt: sync translation from Crowdin' config: 'crowdin.yml' diff --git a/changelog.md b/changelog.md index cbbfab6..c50b6c3 100755 --- a/changelog.md +++ b/changelog.md @@ -8,6 +8,17 @@ GitHub release: [Tricky Addon: Update Target List](https://github.com/KOWX712/Tr 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. diff --git a/module/module.prop b/module/module.prop index addc81d..e76bffa 100644 --- a/module/module.prop +++ b/module/module.prop @@ -1,7 +1,7 @@ id=TA_utl name=Tricky Addon - Update Target List -version=v3.9 -versionCode=390 +version=v4.0 +versionCode=538 author=KOWX712 description=A WebUI to conifgure tricky store target.txt updateJson=https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/update.json diff --git a/module/webui/locales/GUIDE.md b/module/webui/locales/GUIDE.md index ea076bc..5bde5b3 100644 --- a/module/webui/locales/GUIDE.md +++ b/module/webui/locales/GUIDE.md @@ -3,6 +3,7 @@ ## 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. --- diff --git a/more-exclude.json b/more-exclude.json index 95dd02a..c0c942c 100644 --- a/more-exclude.json +++ b/more-exclude.json @@ -24,6 +24,10 @@ "name": "KernelSU Next", "package-name": "com.rifsxd.ksunext" }, + { + "name": "SukiSU Ultra", + "package-name": "com.sukisu.ultra" + }, { "name": "Apatch", "package-name": "me.bmax.apatch" @@ -68,6 +72,10 @@ { "name": "MMRL", "package-name": "com.dergoogler.mmrl" + }, + { + "name": "WebUI X", + "package-name": "com.dergoogler.mmrl.wx" } ] }, diff --git a/update.json b/update.json old mode 100755 new mode 100644 index ce782dd..d77a090 --- a/update.json +++ b/update.json @@ -1,6 +1,6 @@ { - "versionCode": 390, - "version": "v3.9", - "zipUrl": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/download/v3.9/TrickyAddonModule-v3.9.zip", + "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" -} \ No newline at end of file +}