mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-11 21:37:47 +01:00
parent
9ca830e8a1
commit
a4b5c926f4
@ -23,8 +23,6 @@
|
||||
prog="$0"
|
||||
while [ -h "${prog}" ]; do
|
||||
newProg=`/bin/ls -ld "${prog}"`
|
||||
echo ${newProg}
|
||||
|
||||
|
||||
newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
|
||||
if expr "x${newProg}" : 'x/' >/dev/null; then
|
||||
@ -41,7 +39,6 @@ progdir=`pwd`
|
||||
prog="${progdir}"/`basename "${prog}"`
|
||||
cd "${oldwd}"
|
||||
|
||||
|
||||
jarfile=apktool.jar
|
||||
libdir="$progdir"
|
||||
if [ ! -r "$libdir/$jarfile" ]
|
||||
@ -77,4 +74,4 @@ fi
|
||||
# add current location to path for aapt
|
||||
PATH=$PATH:`pwd`;
|
||||
export PATH;
|
||||
exec java $javaOpts -jar "$jarpath" "$@"
|
||||
exec java $javaOpts -jar "$jarpath" "$@"
|
@ -23,8 +23,6 @@
|
||||
prog="$0"
|
||||
while [ -h "${prog}" ]; do
|
||||
newProg=`/bin/ls -ld "${prog}"`
|
||||
echo ${newProg}
|
||||
|
||||
|
||||
newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
|
||||
if expr "x${newProg}" : 'x/' >/dev/null; then
|
||||
@ -41,7 +39,6 @@ progdir=`pwd`
|
||||
prog="${progdir}"/`basename "${prog}"`
|
||||
cd "${oldwd}"
|
||||
|
||||
|
||||
jarfile=apktool.jar
|
||||
libdir="$progdir"
|
||||
if [ ! -r "$libdir/$jarfile" ]
|
||||
@ -77,4 +74,4 @@ fi
|
||||
# add current location to path for aapt
|
||||
PATH=$PATH:`pwd`;
|
||||
export PATH;
|
||||
exec java $javaOpts -Djava.awt.headless=true -jar "$jarpath" "$@"
|
||||
exec java $javaOpts -Djava.awt.headless=true -jar "$jarpath" "$@"
|
@ -1,4 +1,4 @@
|
||||
@echo off
|
||||
if "%PATH_BASE%" == "" set PATH_BASE=%PATH%
|
||||
set PATH=%CD%;%PATH_BASE%;
|
||||
java -jar -Duser.language=en "%~dp0\apktool.jar" %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||
java -jar -Duser.language=en "%~dp0\apktool.jar" %1 %2 %3 %4 %5 %6 %7 %8 %9
|
Loading…
Reference in New Issue
Block a user