From 25243583f9cdf90a94ecde8a2f7fcf9a42e323e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=B9i=20=C4=90=E1=BB=A9c=20Hi=E1=BB=81n?= <54226198+buihien224@users.noreply.github.com> Date: Thu, 7 Dec 2023 21:54:40 +0700 Subject: [PATCH] test --- bhlnk.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bhlnk.sh b/bhlnk.sh index 7997535..0eee55f 100644 --- a/bhlnk.sh +++ b/bhlnk.sh @@ -29,13 +29,14 @@ jar_util() if [[ $1 == "d" ]]; then echo -ne "====> Patching $2 : " - ls + ls -la + ls $dir/jar_temp echo $(get_file_dir $2 ) if [[ $(get_file_dir $2 ) ]]; then - sudo cp $(get_file_dir $2 ) $dir/jar_temp + sudo mv $(get_file_dir $2 ) $dir/jar_temp sudo chown $(whoami) $dir/jar_temp/$2 - unzip $dir/jar_temp/$2 -d $dir/jar_temp/$2.out >/dev/null 2>&1 + unzip $dir/jar_temp/$2 -d $dir/jar_temp/$2.out if [[ -d $dir/jar_temp/"$2.out" ]]; then rm -rf $dir/jar_temp/$2 for dex in $(sudo find $dir/jar_temp/"$2.out" -maxdepth 1 -name "*dex" ); do