mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-06-13 05:37:48 +02:00
re-compile invalidated odex at installation
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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 "{
|
||||
|
@ -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
|
||||
|
||||
<sub>* x86 and x86_64 arches are not supported atm but create an issue let me know if you need them </sub>
|
||||
|
||||
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)
|
||||
|
@ -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.
|
||||
|
@ -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 " "
|
||||
|
2
utils.sh
2
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"
|
||||
|
Reference in New Issue
Block a user