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 | |
|---|---|---|---|
|
|
9f6f043d9a | ||
|
|
88ea74d38f | ||
|
|
ea7dd1d777 | ||
|
|
39e551c73c | ||
|
|
b5aac3781a | ||
|
|
9ff2c72375 | ||
|
|
e65dfdaa1b | ||
|
|
b2312718f9 | ||
|
|
f1e8080202 | ||
|
|
f428ad0cfe | ||
|
|
d28118c98c | ||
|
|
edfe08657a | ||
|
|
03352030a1 | ||
|
|
c57014a391 | ||
|
|
1167a7c636 | ||
|
|
fb7222a28f | ||
|
|
8e8c8634ef | ||
|
|
7deb883720 | ||
|
|
be1c20bb87 | ||
|
|
88a00ca413 | ||
|
|
788b36f083 |
+16
-25
@@ -174,35 +174,26 @@ jobs:
|
||||
${BODY}
|
||||
|
||||
**Download Links:**
|
||||
"
|
||||
|
||||
MODULES_MSG="
|
||||
**Modules:**
|
||||
${MODULES}
|
||||
"
|
||||
|
||||
APKS_MSG="
|
||||
**APKs:**
|
||||
${APKS}
|
||||
"
|
||||
|
||||
# Function to split messages properly by ensuring correct Markdown formatting
|
||||
send_discord_message() {
|
||||
local message="$1"
|
||||
local buffer=""
|
||||
while IFS= read -r line || [ -n "$line" ]; do
|
||||
# Check if adding the current line exceeds 2000 characters
|
||||
if [ ${#buffer} -ge 2000 ]; then
|
||||
# Send the current buffer and reset it
|
||||
curl -X POST -H "Content-Type: application/json" \
|
||||
-d "$(jq -n --arg content "$buffer" '{content: $content}')" \
|
||||
"$DISCORD_WEBHOOK_URL"
|
||||
buffer=""
|
||||
fi
|
||||
buffer+="${line}\n"
|
||||
done <<< "$message"
|
||||
|
||||
# Send any remaining content in the buffer
|
||||
if [ -n "$buffer" ]; then
|
||||
curl -X POST -H "Content-Type: application/json" \
|
||||
-d "$(jq -n --arg content "$buffer" '{content: $content}')" \
|
||||
"$DISCORD_WEBHOOK_URL"
|
||||
fi
|
||||
}
|
||||
|
||||
send_discord_message "$MSG"
|
||||
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"
|
||||
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
echo "'$UPDATE_CFG'"
|
||||
echo "SHOULD_BUILD=1" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "SHOULD_BUILD=0" >> $GITHUB_OUTPUT
|
||||
echo "SHOULD_BUILD=1" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -46,5 +46,5 @@ jobs:
|
||||
permissions: write-all
|
||||
needs: check
|
||||
uses: ./.github/workflows/build.yml
|
||||
if: ${{ needs.check.outputs.SHOULD_BUILD == 0 }}
|
||||
if: ${{ needs.check.outputs.SHOULD_BUILD == 1 }}
|
||||
secrets: inherit
|
||||
|
||||
@@ -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