Remove build-apps patch

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2023-08-31 11:40:32 +03:00
parent e1ff05dc06
commit 7e767cb3bf
2 changed files with 0 additions and 16 deletions

View File

@@ -7,9 +7,6 @@ WORKDIR /app
COPY config.toml config.toml
COPY options.json options.json
COPY patches/ patches/
RUN patch -p1 < patches/0001-build-apps.patch
RUN groupadd -g 1000 revanced
RUN useradd -u 1000 -g revanced revanced
RUN chown -R revanced:revanced /app

View File

@@ -1,13 +0,0 @@
diff --git a/utils.sh b/utils.sh
index dec04d5..b92fc60 100755
--- a/utils.sh
+++ b/utils.sh
@@ -252,7 +254,7 @@ get_apkmonk_pkg_name() { grep -oP '.*apkmonk\.com\/app\/\K([,\w,\.]*)' <<<"$1";
patch_apk() {
local stock_input=$1 patched_apk=$2 patcher_args=$3 rv_cli_jar=$4 rv_patches_jar=$5
declare -r tdir=$(mktemp -d -p $TEMP_DIR)
- local cmd="java -jar $rv_cli_jar --rip-lib x86_64 --rip-lib x86 --temp-dir=$tdir -c -a $stock_input -o $patched_apk -b $rv_patches_jar --keystore=ks.keystore $patcher_args"
+ local cmd="java -jar $rv_cli_jar --temp-dir=$tdir -c -a $stock_input -o $patched_apk -b $rv_patches_jar --keystore=ks.keystore --options=options.json $patcher_args"
if [ "$OS" = Android ]; then cmd+=" --custom-aapt2-binary=${TEMP_DIR}/aapt2"; fi
pr "$cmd"
if [ "${DRYRUN:-}" = true ]; then