diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e4ec761..a15d6b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,6 +33,7 @@ jobs: - id: get_output run: | + echo -e "\n[revanced-magisk-module repo]($GITHUB_SERVER_URL/j-hc/revanced-magisk-module)" >>build.log BUILD_LOG=$(cat build.log) BUILD_LOG="${BUILD_LOG//'%'/'%25'}" BUILD_LOG="${BUILD_LOG//$'\n'/'%0A'}" @@ -69,7 +70,6 @@ jobs: id: update_config run: | cp -f build.log latest_build.md - echo -e "\n[revanced-magisk-module repo]($GITHUB_SERVER_URL/j-hc/revanced-magisk-module)" >>latest_build.md CHANGELOG_URL="https://raw.githubusercontent.com/$GITHUB_REPOSITORY/update/latest_build.md" get_update_json() { echo "{ diff --git a/README.md b/README.md index 98fc701..549bb1f 100644 --- a/README.md +++ b/README.md @@ -7,18 +7,20 @@ You can get the [latest CI release from here](https://github.com/j-hc/revanced-m The [**mindetach module**](https://github.com/j-hc/mindetach-magisk) in the releases section detaches YouTube and YouTube Music from Play Store and blocks it from updating them. ## Features - * Can build magisk modules or non-root APKs + * Can build Magisk modules or non-root APKs * Updated daily with the latest versions of apps and patches in accordance with your configuration * Cleans APKs from unneeded libs to make them smaller * Fully open-source, every binary or APK is compiled without human intervention * Modules + * recompiles invalidated odex for YouTube and Music apps for faster usage * receive updates from Magisk app * do not break safetynet or trigger root detections used by certain apps * handle installation of the correct version of the stock app and all that * mount the patched app immediately without needing to reboot * do not cause any permanent changes in /system or /data partitions -* x86 and x86_64 arches are not supported atm but create an issue let me know if you need them + +The default config is for building Magisk modules for YouTube and YT Music, if you want a repo that builds **APKs for every app** you can check out this one: https://github.com/revanced-apks/revanced-apks ## To include/exclude patches or build non-root variant [**See the list of patches**](https://github.com/revanced/revanced-patches#-list-of-available-patches) diff --git a/options.toml b/options.toml index 08dca20..fddeaa8 100644 --- a/options.toml +++ b/options.toml @@ -2,8 +2,8 @@ # This file does not contain all options by default. # Run the CLI with the "--list --with-options" flags to see all available options. # You can also run the CLI with the aforementioned flags and a patch name to see all available options for that patch. -# To set an option, add a line with the format "option = value". -# To remove or reset an option to its default value, delete the line. +# To set an option, add a line with the format "option = value" or set the value if the option already exists. +# To reset an option to its default value, delete the line. # To reset all options to their default values, delete this file. # # This file was generated by ReVanced Patcher version 4.3.0. diff --git a/scripts/customize.sh b/scripts/customize.sh index 35715cd..ebd2d94 100755 --- a/scripts/customize.sh +++ b/scripts/customize.sh @@ -52,6 +52,9 @@ fi rm -r $MODPATH/bin $MODPATH/__PKGNAME.apk am force-stop __PKGNAME +ui_print "* Optimizing __PKGNAME" +cmd package compile -m speed-profile -f __PKGNAME & + ui_print "* Done" ui_print " by j-hc (github.com/j-hc)" ui_print " " diff --git a/utils.sh b/utils.sh index b7efae9..5d5d061 100755 --- a/utils.sh +++ b/utils.sh @@ -198,7 +198,7 @@ build_rv() { module_prop "${args[module_prop_name]}" \ "${args[app_name]} ReVanced" \ "${version}" \ - "mounts base.apk for ${args[app_name]} ReVanced" \ + "${args[app_name]} ReVanced Magisk module" \ "https://raw.githubusercontent.com/${GITHUB_REPOSITORY}/update/${args[module_update_json]}" local module_output="${args[app_name],,}-revanced-magisk-v${version}-${args[arch]}.zip"