Compare commits

...
31 Commits
4 ... 25
Author SHA1 Message Date
Loi Phan d6582d2d63 Update ci.yml 2025-01-30 11:17:50 +07:00
Loi Phan 1a2af75601 Update config.toml 2025-01-30 11:15:35 +07:00
Loi Phan 6b33d5841d Update config.toml 2025-01-30 11:09:49 +07:00
Loi Phan 9f6f043d9a Update config.toml 2025-01-30 10:35:47 +07:00
Loi Phan 88ea74d38f Update ci.yml 2025-01-30 10:20:11 +07:00
Loi Phan ea7dd1d777 Update config.toml 2025-01-30 10:18:56 +07:00
Loi Phan 39e551c73c Update ci.yml 2025-01-30 09:59:04 +07:00
Loi Phan b5aac3781a Update ci.yml 2025-01-30 09:58:26 +07:00
Loi Phan 9ff2c72375 Update ci.yml 2025-01-30 09:57:34 +07:00
Loi Phan e65dfdaa1b Update config.toml 2025-01-30 09:57:20 +07:00
Loi Phan b2312718f9 Update config.toml 2025-01-30 09:53:07 +07:00
Loi Phan f1e8080202 Update config.toml 2025-01-30 09:51:19 +07:00
Loi Phan f428ad0cfe Update ci.yml 2025-01-30 09:50:21 +07:00
Loi Phan d28118c98c Update ci.yml 2025-01-30 09:42:54 +07:00
Loi Phan edfe08657a Update ci.yml 2025-01-30 09:42:09 +07:00
Loi Phan 03352030a1 Update README.md 2025-01-30 09:36:01 +07:00
Loi Phan c57014a391 update config 2025-01-30 09:33:24 +07:00
Loi Phan 1167a7c636 Update config.toml 2025-01-30 09:27:20 +07:00
Loi Phan fb7222a28f Update config.toml 2025-01-30 09:19:27 +07:00
nezumi 8e8c8634ef update config.toml 2025-01-22 22:00:09 +07:00
nezumi 7deb883720 update config 2025-01-22 20:25:45 +07:00
nezumi be1c20bb87 update config 2025-01-22 20:03:31 +07:00
nezumi 88a00ca413 update config 2025-01-22 19:41:27 +07:00
nezumi 788b36f083 update config 2025-01-22 19:24:00 +07:00
nezumi ae43197aa0 update config 2025-01-22 18:59:05 +07:00
nezumi c2fe93675e update config 2025-01-22 18:17:08 +07:00
nezumi aee01f1ca5 update config 2025-01-22 17:55:20 +07:00
nezumi 679631315e update config 2025-01-22 17:35:52 +07:00
Loi Phan a2ca664121 Update build.yml 2025-01-21 00:14:45 +07:00
nezumi 94c8ce77a9 update config 2025-01-18 09:41:09 +07:00
Loi Phan aece463380 Update build.yml 2025-01-18 09:26:41 +07:00
3 changed files with 92 additions and 28 deletions
+53 -1
View File
@@ -114,7 +114,7 @@ jobs:
run: | run: |
cd build || { echo "build folder not found"; exit 1; } cd build || { echo "build folder not found"; exit 1; }
TG_CHAT="@rvc_magisk" TG_CHAT="-1002417137882"
NL=$'\n' NL=$'\n'
APKS="" APKS=""
MODULES="" MODULES=""
@@ -145,3 +145,55 @@ jobs:
MSG=${MSG:0:9450} MSG=${MSG:0:9450}
POST="https://api.telegram.org/bot${TG_TOKEN}/sendMessage" POST="https://api.telegram.org/bot${TG_TOKEN}/sendMessage"
curl -X POST --data-urlencode "parse_mode=Markdown" --data-urlencode "disable_web_page_preview=true" --data-urlencode "text=${MSG}" --data-urlencode "chat_id=${TG_CHAT}" "$POST" curl -X POST --data-urlencode "parse_mode=Markdown" --data-urlencode "disable_web_page_preview=true" --data-urlencode "text=${MSG}" --data-urlencode "chat_id=${TG_CHAT}" "$POST"
- name: Report to Discord
env:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
if: env.DISCORD_WEBHOOK_URL != null
run: |
cd build || { echo "build folder not found"; exit 1; }
NL=$'\n'
APKS=""
MODULES=""
for OUTPUT in *; do
DL_URL="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/releases/download/${{ steps.next_ver_code.outputs.NEXT_VER_CODE }}/${OUTPUT}"
if [[ $OUTPUT = *.apk ]]; then
APKS+="${NL}- [${OUTPUT}](${DL_URL})"
elif [[ $OUTPUT = *.zip ]]; then
MODULES+="${NL}- [${OUTPUT}](${DL_URL})"
fi
done
MODULES=${MODULES#"$NL"}
APKS=${APKS#"$NL"}
BODY="$(sed 's/^\* \*\*/- \*\*/g; s/^\* `/- \*\*/g; s/`/\*/g; s/^\* /\-/g; s/\*\*/\*/g; s/###//g; s/^- /- /g; /^==/d;' ../build.md)"
MSG="**New build is ready!**
${BODY}
**Download Links:**
"
MODULES_MSG="
**Modules:**
${MODULES}
"
APKS_MSG="
**APKs:**
${APKS}
"
curl -X POST -H "Content-Type: application/json" \
-d "$(jq -n --arg content "$MSG" '{content: $content}')" \
"$DISCORD_WEBHOOK_URL"
curl -X POST -H "Content-Type: application/json" \
-d "$(jq -n --arg content "$MODULES_MSG" '{content: $content}')" \
"$DISCORD_WEBHOOK_URL"
curl -X POST -H "Content-Type: application/json" \
-d "$(jq -n --arg content "$APKS_MSG" '{content: $content}')" \
"$DISCORD_WEBHOOK_URL"
+1 -1
View File
@@ -1,6 +1,6 @@
# ReVanced Magisk Module # ReVanced Magisk Module
[![Telegram](https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white)](https://t.me/rvc_magisk) [![Telegram](https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white)](https://t.me/rvc_magisk)
[![CI](https://github.com/j-hc/revanced-magisk-module/actions/workflows/ci.yml/badge.svg?event=schedule)](https://github.com/j-hc/revanced-magisk-module/actions/workflows/ci.yml) [![CI](https://github.com/Nez27/revanced-apk-build/actions/workflows/ci.yml/badge.svg?event=schedule)](https://github.com/Nez27/revanced-apk-build/actions/workflows/ci.yml)
Extensive ReVanced builder Extensive ReVanced builder
+38 -26
View File
@@ -7,7 +7,7 @@ parallel-jobs = 1
# you can use rvmm-config-gen to generate a config # you can use rvmm-config-gen to generate a config
[YouTube] [YouTube]
build-mode = "both" build-mode = "apk"
excluded-patches = "'Hide timestamp'" excluded-patches = "'Hide timestamp'"
included-patches = "" included-patches = ""
version = "auto" version = "auto"
@@ -16,17 +16,18 @@ uptodown-dlurl = "https://youtube.en.uptodown.com/android"
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.youtube" # archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.youtube"
[Music] [Music]
build-mode = "both" build-mode = "apk"
arch = "both" arch = "both"
version = "auto"
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube-music" apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube-music"
uptodown-dlurl = "https://youtube-music.en.uptodown.com/android" uptodown-dlurl = "https://youtube-music.en.uptodown.com/android"
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.apps.youtube.music" # archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.apps.youtube.music"
[GooglePhotos] [GooglePhotos]
build-mode = "both" build-mode = "apk"
arch = "both" arch = "both"
version = "auto" version = "auto"
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/photos/" apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/photos"
uptodown-dlurl = "https://google-photos.en.uptodown.com/android" uptodown-dlurl = "https://google-photos.en.uptodown.com/android"
[Music-Extended] [Music-Extended]
@@ -34,38 +35,49 @@ app-name = "Music"
patches-source = "inotia00/revanced-patches" patches-source = "inotia00/revanced-patches"
cli-source = "inotia00/revanced-cli" cli-source = "inotia00/revanced-cli"
rv-brand = "ReVanced Extended" rv-brand = "ReVanced Extended"
build-mode = "both" build-mode = "apk"
arch = "both" arch = "both"
version = "auto"
included-patches = "'Custom header for YouTube Music' 'Spoof client'"
excluded-patches = "'Custom branding icon for YouTube Music' 'Custom branding name for YouTube Music'"
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube-music" apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube-music"
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.apps.youtube.music" uptodown-dlurl = "https://youtube-music.uptodown.com/android"
[Music-Extended-Beta]
app-name = "Music"
patches-source = "inotia00/revanced-patches"
patches-version = "dev"
cli-source = "inotia00/revanced-cli"
rv-brand = "ReVanced Extended"
build-mode = "apk"
arch = "both"
version = "auto"
included-patches = "'Custom header for YouTube Music' 'Spoof client'"
excluded-patches = "'Custom branding icon for YouTube Music' 'Custom branding name for YouTube Music'"
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube-music"
uptodown-dlurl = "https://youtube-music.uptodown.com/android"
[YouTube-Extended] [YouTube-Extended]
app-name = "YouTube" app-name = "YouTube"
patches-source = "inotia00/revanced-patches" patches-source = "inotia00/revanced-patches"
cli-source = "inotia00/revanced-cli" cli-source = "inotia00/revanced-cli"
rv-brand = "ReVanced Extended" rv-brand = "ReVanced Extended"
build-mode = "both" build-mode = "apk"
version = "auto"
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube" apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube"
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.youtube" uptodown-dlurl = "https://youtube.en.uptodown.com/android"
included-patches = "'Custom header for YouTube' 'MaterialYou' 'Hide Shorts dimming'"
excluded-patches = "'Custom branding icon for YouTube' 'Custom branding name for YouTube' 'Disable splash animation'"
[Reddit-Extended] [YouTube-Extended-Beta]
app-name = "YouTube"
patches-source = "inotia00/revanced-patches" patches-source = "inotia00/revanced-patches"
patches-version = "dev"
cli-source = "inotia00/revanced-cli" cli-source = "inotia00/revanced-cli"
rv-brand = "ReVanced Extended" rv-brand = "ReVanced Extended"
apkmirror-dlurl = "https://www.apkmirror.com/apk/redditinc/reddit/" build-mode = "apk"
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.reddit.frontpage" version = "auto"
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube"
uptodown-dlurl = "https://youtube.en.uptodown.com/android"
[TikTok] included-patches = "'Custom header for YouTube' 'MaterialYou'"
enabled = false excluded-patches = "'Custom branding icon for YouTube' 'Custom branding name for YouTube' 'Disable splash animation'"
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.zhiliaoapp.musically"
included-patches = "'SIM spoof'"
[Messenger]
enabled = false
apkmirror-dlurl = "https://www.apkmirror.com/apk/facebook-2/messenger/"
arch = "arm64-v8a"
[Spotify]
enabled = false
uptodown-dlurl = "https://spotify.en.uptodown.com/android"