diff --git a/build.sh b/build.sh index a1d6e00..7d98b19 100755 --- a/build.sh +++ b/build.sh @@ -1,9 +1,13 @@ #!/usr/bin/env bash set -euo pipefail +trap "rm -rf temp/tmp.*; exit 1" INT + +if [ "${1:-}" = "clean" ]; then + rm -rf temp build logs +fi source utils.sh -trap "rm -rf temp/tmp.*; exit 1" INT : >build.md diff --git a/config-rv-ex.toml b/config-rv-ex.toml index 5bf1fef..c9f434d 100644 --- a/config-rv-ex.toml +++ b/config-rv-ex.toml @@ -1,9 +1,10 @@ # see https://github.com/j-hc/revanced-magisk-module/blob/main/CONFIG.md for more detailed explanations -compression-level = 9 # compression level for module zips. between 1 and 9 -logging-to-file = true # enables logging of every patch process to a seperate file -enable-magisk-update = true # set this to false if you do not want to receive updates for the module in magisk app -parallel-jobs = 3 # max number of concurrent building jobs +compression-level = 9 # compression level for module zips. between 1 and 9 +logging-to-file = true # enables logging of every patch process to a seperate file +enable-magisk-update = true # set this to false if you do not want to receive updates for the module in magisk app +parallel-jobs = 1 # max number of concurrent building jobs build-mindetach-module = true + # extended patches-source = "inotia00/revanced-patches" integrations-source = "inotia00/revanced-integrations"