From ebd93c0f1e3fec27eade5a50995808e072b026d7 Mon Sep 17 00:00:00 2001 From: j-hc <25510067+j-hc@users.noreply.github.com> Date: Sun, 3 Dec 2023 17:17:21 +0300 Subject: [PATCH 1/4] Update config.toml --- config.toml | 36 +----------------------------------- 1 file changed, 1 insertion(+), 35 deletions(-) diff --git a/config.toml b/config.toml index 76e74e4..628d9f3 100755 --- a/config.toml +++ b/config.toml @@ -45,16 +45,11 @@ archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.twitter.android" archive-dlurl = "https://archive.org/download/jhc-apks/apks/tv.twitch.android.app" [TikTok] -apkmirror-dlurl = "https://www.apkmirror.com/apk/tiktok-pte-ltd/tik-tok-including-musical-ly/" +apkmirror-dlurl = "https://archive.org/download/jhc-apks/apks/com.zhiliaoapp.musically" [Reddit] archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.reddit.frontpage" -[Lightroom] -enabled = false -apkmirror-dlurl = "https://www.apkmirror.com/apk/adobe/lightroom/" -apkmirror-arch = "arm64-v8a + x86_64" - [Messenger] enabled = false apkmirror-dlurl = "https://www.apkmirror.com/apk/facebook-2/messenger/" @@ -64,36 +59,7 @@ apkmirror-arch = "arm64-v8a" enabled = false uptodown-dlurl = "https://spotify.en.uptodown.com/android" -[Citra] -enabled = false -apkmirror-dlurl = "https://www.apkmirror.com/apk/citra-emulator/citra-emulator/" -apkmirror-arch = "arm64-v8a" - -[Backdrops] -enabled = false -uptodown-dlurl = "https://backdrops.en.uptodown.com/android" - -[WarnWetter] -enabled = false -apkmirror-dlurl = "https://www.apkmirror.com/apk/deutscher-wetterdienst/warnwetter/" - -[Windyapp] -enabled = false -apkmirror-dlurl = "https://www.apkmirror.com/apk/windy-weather-world-inc/windy-wind-weather-forecast/" - [IconPackStudio] enabled = false apkmirror-dlurl = "https://www.apkmirror.com/apk/smart-launcher-team/icon-pack-studio/" -[TickTick] -enabled = false -apkmirror-dlurl = "https://www.apkmirror.com/apk/appest-inc/ticktick-to-do-list-with-reminder-day-planner/" -apkmirror-arch = "arm64-v8a" - -[Tasker] -enabled = false -apkmirror-dlurl = "https://www.apkmirror.com/apk/joaomgcd/tasker/" - -[Photomath] -enabled = false -apkmonk-dlurl = "https://www.apkmonk.com/app/com.microblink.photomath/" From f3c8cb0b81d7892c8b3095624d125aa60b272669 Mon Sep 17 00:00:00 2001 From: j-hc <25510067+j-hc@users.noreply.github.com> Date: Mon, 11 Dec 2023 14:44:35 +0300 Subject: [PATCH 2/4] Update config.toml --- config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 628d9f3..a9490b0 100755 --- a/config.toml +++ b/config.toml @@ -45,7 +45,7 @@ archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.twitter.android" archive-dlurl = "https://archive.org/download/jhc-apks/apks/tv.twitch.android.app" [TikTok] -apkmirror-dlurl = "https://archive.org/download/jhc-apks/apks/com.zhiliaoapp.musically" +archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.zhiliaoapp.musically" [Reddit] archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.reddit.frontpage" From 8040680caded9fe4541b5e5c8b6661bd18d8ad95 Mon Sep 17 00:00:00 2001 From: j-hc Date: Tue, 12 Dec 2023 18:21:37 +0300 Subject: [PATCH 3/4] microg --- CONFIG.md | 2 +- build.sh | 12 +++--------- config.toml | 11 +++++------ utils.sh | 2 +- 4 files changed, 10 insertions(+), 17 deletions(-) diff --git a/CONFIG.md b/CONFIG.md index 068e365..31fb00e 100755 --- a/CONFIG.md +++ b/CONFIG.md @@ -41,5 +41,5 @@ apkmonk-dlurl = "https://www.apkmonk.com/app/com.app.app/" module-prop-name = "some-app-magisk" # magisk module prop name. merge-integrations = false # set false to never merge even when needed. default: true apkmirror-dpi = "360-480dpi" # used to select apk variant from apkmirror. default: nodpi -apkmirror-arch = "arm64-v8a" # 'arm64-v8a', 'arm-v7a', 'all', 'both'. 'both' downloads both arm64-v8a and arm-v7a. default: all +arch = "arm64-v8a" # 'arm64-v8a', 'arm-v7a', 'all', 'both'. 'both' downloads both arm64-v8a and arm-v7a. default: all ``` diff --git a/build.sh b/build.sh index d274ea0..c4040d8 100755 --- a/build.sh +++ b/build.sh @@ -146,7 +146,7 @@ for table_name in $(toml_get_table_names); do app_args[dl_from]=archive } || app_args[archive_dlurl]="" if [ -z "${app_args[dl_from]:-}" ]; then abort "ERROR: no 'apkmirror_dlurl', 'uptodown_dlurl' or 'apkmonk_dlurl' option was set for '$table_name'."; fi - app_args[arch]=$(toml_get "$t" apkmirror-arch) || app_args[arch]="all" + app_args[arch]=$(toml_get "$t" arch) || app_args[arch]="all" if [ "${app_args[arch]}" != "both" ] && [ "${app_args[arch]}" != "all" ] && [[ "${app_args[arch]}" != "arm64-v8a"* ]] && [[ "${app_args[arch]}" != "arm-v7a"* ]]; then abort "wrong arch '${app_args[arch]}' for '$table_name'" fi @@ -179,14 +179,8 @@ wait rm -rf temp/tmp.* if [ -z "$(ls -A1 ${BUILD_DIR})" ]; then abort "All builds failed."; fi -if youtube_t=$(toml_get_table "YouTube"); then youtube_mode=$(toml_get "$youtube_t" "build-mode") || youtube_mode="apk"; else youtube_mode="module"; fi -if music_t=$(toml_get_table "Music"); then music_mode=$(toml_get "$music_t" "build-mode") || music_mode="apk"; else music_mode="module"; fi -if [ "$youtube_mode" != module ] || [ "$music_mode" != module ]; then - log "\nInstall [Vanced Microg](https://github.com/TeamVanced/VancedMicroG/releases) for non-root YouTube and YT Music" -fi -if [ "$youtube_mode" != apk ] || [ "$music_mode" != apk ]; then - log "Use [zygisk-detach](https://github.com/j-hc/zygisk-detach) module to detach YouTube and YT Music from Play Store" -fi +log "\nInstall [Vanced Microg](https://github.com/TeamVanced/VancedMicroG/releases) for non-root YouTube and YT Music" +log "Use [zygisk-detach](https://github.com/j-hc/zygisk-detach) module to detach YouTube and YT Music from Play Store" log "\n[revanced-magisk-module](https://github.com/j-hc/revanced-magisk-module)" log "\nChangelog:" log "$(cat $TEMP_DIR/*-rv/changelog.md)" diff --git a/config.toml b/config.toml index a9490b0..7746323 100755 --- a/config.toml +++ b/config.toml @@ -16,7 +16,7 @@ archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.y [Music] build-mode = "both" archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.apps.youtube.music" -apkmirror-arch = "both" +arch = "both" [Music-Extended] app-name = "Music" @@ -25,8 +25,8 @@ integrations-source = "inotia00/revanced-integrations" cli-source = "inotia00/revanced-cli" rv-brand = "ReVanced Extended" build-mode = "both" -apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube-music/" -apkmirror-arch = "both" +archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.apps.youtube.music" +arch = "both" [YouTube-Extended] app-name = "YouTube" @@ -35,7 +35,7 @@ integrations-source = "inotia00/revanced-integrations" cli-source = "inotia00/revanced-cli" rv-brand = "ReVanced Extended" build-mode = "both" -apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube/" +archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.youtube" [Twitter] build-mode = "apk" @@ -53,7 +53,7 @@ archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.reddit.frontpage [Messenger] enabled = false apkmirror-dlurl = "https://www.apkmirror.com/apk/facebook-2/messenger/" -apkmirror-arch = "arm64-v8a" +arch = "arm64-v8a" [Spotify] enabled = false @@ -62,4 +62,3 @@ uptodown-dlurl = "https://spotify.en.uptodown.com/android" [IconPackStudio] enabled = false apkmirror-dlurl = "https://www.apkmirror.com/apk/smart-launcher-team/icon-pack-studio/" - diff --git a/utils.sh b/utils.sh index 82b0434..233d580 100755 --- a/utils.sh +++ b/utils.sh @@ -411,7 +411,7 @@ build_rv() { if [ "${args[merge_integrations]}" = true ]; then p_patcher_args+=("-m ${args[integ]}"); fi local microg_patch - microg_patch=$(jq -r ".[] | select(.compatiblePackages // [] | .[] | .name==\"${pkg_name}\") | .name" "${args[ptjs]}" | grep -iF microg || :) + microg_patch=$(jq -r ".[] | select(.compatiblePackages // [] | .[] | .name==\"${pkg_name}\") | .name" "${args[ptjs]}" | grep -iF gmscore || :) if [ -n "$microg_patch" ] && [[ ${p_patcher_args[*]} =~ $microg_patch ]]; then epr "You cant include/exclude microg patches as that's done by rvmm builder automatically." p_patcher_args=("${p_patcher_args[@]//-[ei] ${microg_patch}/}") From a5179c176d281d8c5ad1cd035f85e07b0dae1bcf Mon Sep 17 00:00:00 2001 From: j-hc <25510067+j-hc@users.noreply.github.com> Date: Thu, 14 Dec 2023 03:04:22 +0300 Subject: [PATCH 4/4] Update utils.sh --- utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.sh b/utils.sh index 233d580..d29a84a 100755 --- a/utils.sh +++ b/utils.sh @@ -411,7 +411,7 @@ build_rv() { if [ "${args[merge_integrations]}" = true ]; then p_patcher_args+=("-m ${args[integ]}"); fi local microg_patch - microg_patch=$(jq -r ".[] | select(.compatiblePackages // [] | .[] | .name==\"${pkg_name}\") | .name" "${args[ptjs]}" | grep -iF gmscore || :) + microg_patch=$(jq -r ".[] | select(.compatiblePackages // [] | .[] | .name==\"${pkg_name}\") | .name" "${args[ptjs]}" | grep -i "gmscore\|microg" || :) if [ -n "$microg_patch" ] && [[ ${p_patcher_args[*]} =~ $microg_patch ]]; then epr "You cant include/exclude microg patches as that's done by rvmm builder automatically." p_patcher_args=("${p_patcher_args[@]//-[ei] ${microg_patch}/}")