Skip to content

Commit

Permalink
Merge branch 'j-hc:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Revanced APKs authored Sep 14, 2022
2 parents a45a3b3 + caea407 commit eac288e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'}"
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions options.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions scripts/customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 1 addition & 1 deletion utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit eac288e

Please sign in to comment.