mirror of
https://github.com/Nezumi-2711/revanced-apk-build.git
synced 2026-09-22 20:02:00 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6582d2d63 | ||
|
|
1a2af75601 | ||
|
|
6b33d5841d | ||
|
|
9f6f043d9a | ||
|
|
88ea74d38f | ||
|
|
ea7dd1d777 | ||
|
|
39e551c73c | ||
|
|
b5aac3781a | ||
|
|
9ff2c72375 | ||
|
|
e65dfdaa1b | ||
|
|
b2312718f9 | ||
|
|
f1e8080202 | ||
|
|
f428ad0cfe | ||
|
|
d28118c98c | ||
|
|
edfe08657a | ||
|
|
03352030a1 | ||
|
|
c57014a391 | ||
|
|
1167a7c636 | ||
|
|
fb7222a28f | ||
|
|
8e8c8634ef | ||
|
|
7deb883720 | ||
|
|
be1c20bb87 | ||
|
|
88a00ca413 | ||
|
|
788b36f083 | ||
|
|
ae43197aa0 | ||
|
|
c2fe93675e | ||
|
|
aee01f1ca5 | ||
|
|
679631315e | ||
|
|
a2ca664121 |
@@ -145,3 +145,55 @@ jobs:
|
||||
MSG=${MSG:0:9450}
|
||||
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"
|
||||
|
||||
- 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,6 +1,6 @@
|
||||
# ReVanced Magisk Module
|
||||
[](https://t.me/rvc_magisk)
|
||||
[](https://github.com/j-hc/revanced-magisk-module/actions/workflows/ci.yml)
|
||||
[](https://github.com/Nez27/revanced-apk-build/actions/workflows/ci.yml)
|
||||
|
||||
Extensive ReVanced builder
|
||||
|
||||
|
||||
+38
-28
@@ -7,7 +7,7 @@ parallel-jobs = 1
|
||||
# you can use rvmm-config-gen to generate a config
|
||||
|
||||
[YouTube]
|
||||
build-mode = "both"
|
||||
build-mode = "apk"
|
||||
excluded-patches = "'Hide timestamp'"
|
||||
included-patches = ""
|
||||
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"
|
||||
|
||||
[Music]
|
||||
build-mode = "both"
|
||||
build-mode = "apk"
|
||||
arch = "both"
|
||||
version = "auto"
|
||||
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube-music"
|
||||
uptodown-dlurl = "https://youtube-music.en.uptodown.com/android"
|
||||
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.apps.youtube.music"
|
||||
|
||||
[GooglePhotos]
|
||||
build-mode = "both"
|
||||
build-mode = "apk"
|
||||
arch = "both"
|
||||
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"
|
||||
|
||||
[Music-Extended]
|
||||
@@ -34,40 +35,49 @@ app-name = "Music"
|
||||
patches-source = "inotia00/revanced-patches"
|
||||
cli-source = "inotia00/revanced-cli"
|
||||
rv-brand = "ReVanced Extended"
|
||||
build-mode = "both"
|
||||
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"
|
||||
# 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]
|
||||
app-name = "YouTube"
|
||||
patches-source = "inotia00/revanced-patches"
|
||||
cli-source = "inotia00/revanced-cli"
|
||||
rv-brand = "ReVanced Extended"
|
||||
build-mode = "both"
|
||||
build-mode = "apk"
|
||||
version = "auto"
|
||||
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube"
|
||||
included-patches = "'Custom header for YouTube'"
|
||||
excluded-patches = "'Custom branding icon for YouTube' 'Custom branding name for 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-version = "dev"
|
||||
cli-source = "inotia00/revanced-cli"
|
||||
rv-brand = "ReVanced Extended"
|
||||
apkmirror-dlurl = "https://www.apkmirror.com/apk/redditinc/reddit/"
|
||||
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.reddit.frontpage"
|
||||
|
||||
|
||||
[TikTok]
|
||||
enabled = false
|
||||
# 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"
|
||||
build-mode = "apk"
|
||||
version = "auto"
|
||||
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube"
|
||||
uptodown-dlurl = "https://youtube.en.uptodown.com/android"
|
||||
included-patches = "'Custom header for YouTube' 'MaterialYou'"
|
||||
excluded-patches = "'Custom branding icon for YouTube' 'Custom branding name for YouTube' 'Disable splash animation'"
|
||||
|
||||
Reference in New Issue
Block a user