diff --git a/README.md b/README.md index 653fb59..8c7e1b6 100755 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ A **KSU WebUI** to configure tricky store target.txt - MT manager is recommened for this method ## Translation -- Read [Translation Guide](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/tree/master/module/webroot/locales/A-translate.md) +- Read [Translation Guide](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/main/module/webroot/locales/A-translate.md) ## Acknowledgement - [j-hc/zygisk-detach](https://github.com/j-hc/zygisk-detach) - KSU WebUI template @@ -38,6 +38,6 @@ A **KSU WebUI** to configure tricky store target.txt ## Links Download: [GitHub release](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases) -Update log: Read [ChangeLog](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/master/changelog.md) +Update log: Read [ChangeLog](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/main/changelog.md) Telegram channel: [KOW's Little World](https://t.me/kowchannel) diff --git a/changelog.md b/changelog.md index 0cee827..be4a5bd 100755 --- a/changelog.md +++ b/changelog.md @@ -40,7 +40,7 @@ Telegram channel: [KOW's Little World](https://t.me/kowchannel) ### v2.2 **KSU WebUI:** - Added help menu -- Added extra [unnecessary app](https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/more-excldue.json) exclude option +- Added extra [unnecessary app](https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/more-excldue.json) exclude option - Added no Internet connection prompt ### v2.1 diff --git a/module/common/get_extra.sh b/module/common/get_extra.sh index 0b7f7e1..9675a34 100644 --- a/module/common/get_extra.sh +++ b/module/common/get_extra.sh @@ -11,7 +11,7 @@ find_busybox check_wget # Fetch additional package names -wget --no-check-certificate -q -O - "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/more-excldue.json" 2>/dev/null | \ +wget --no-check-certificate -q -O - "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/more-excldue.json" 2>/dev/null | \ grep -o '"package-name": *"[^"]*"' | \ awk -F'"' '{print $4}' > "$OUTPUT" @@ -30,14 +30,14 @@ pm list packages -3 &1 | cat | awk -F: '{print $2}' | while read - done if [ "$skipfetch" != "true" ]; then - wget --no-check-certificate -qO "$KBOUTPUT" "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/.extra" + wget --no-check-certificate -qO "$KBOUTPUT" "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/.extra" if [ ! -s "$KBOUTPUT" ]; then rm -f "$KBOUTPUT" fi if [ -d "$MODPATH/temp" ]; then - JSON=$(wget --no-check-certificate -q -O - "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/update.json") + JSON=$(wget --no-check-certificate -q -O - "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/update.json") REMOTE_VERSION=$(echo "$JSON" | grep -o '"versionCode": *[0-9]*' | awk -F: '{print $2}' | tr -d ' ') LOCAL_VERSION=$(grep -o 'versionCode=[0-9]*' "$MODPATH/temp/module.prop" | awk -F= '{print $2}') if [ "$REMOTE_VERSION" -gt "$LOCAL_VERSION" ]; then diff --git a/module/module.prop b/module/module.prop index 716bf90..0d1c014 100644 --- a/module/module.prop +++ b/module/module.prop @@ -4,4 +4,4 @@ version=v2.6-beta.3 versionCode=250 author=KOWX712 description=A WebUI to conifgure tricky store target.txt -updateJson=https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/update.json +updateJson=https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/update.json diff --git a/more-excldue.json b/more-excldue.json index f9adb7e..4fd73e4 100644 --- a/more-excldue.json +++ b/more-excldue.json @@ -1,7 +1,7 @@ { "description": "Unnecessary app list", "repo-link": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List", - "json-link": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/more-excldue.json", + "json-link": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/more-excldue.json", "data": [ { "info": "Root manager", diff --git a/update.json b/update.json index 6c5e3ba..f1524af 100755 --- a/update.json +++ b/update.json @@ -2,5 +2,5 @@ "versionCode": 250, "version": "v2.5", "zipUrl": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/download/v2.5/TrickyAddonModule-v2.5.zip", - "changelog": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/changelog.md" + "changelog": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/changelog.md" } \ No newline at end of file