diff --git a/apktools/apktool.jar b/apktools/apktool.jar index 3d5fc2a..6147702 100755 Binary files a/apktools/apktool.jar and b/apktools/apktool.jar differ diff --git a/apktools/baksmali b/apktools/baksmali index f8d0480..bd3f820 100755 --- a/apktools/baksmali +++ b/apktools/baksmali @@ -14,6 +14,12 @@ # See the License for the specific language governing permissions and # limitations under the License. +# As per the Apache license requirements, this file has been modified +# from its original state. +# +# Such modifications are Copyright (C) 2010 Ben Gruver, and are released +# under the original license + # This script is a wrapper around baksmali.jar, so you can simply call # "baksmali", instead of java -jar baksmali.jar. It is heavily based on # the "dx" script from the Android SDK @@ -23,7 +29,7 @@ prog="$0" while [ -h "${prog}" ]; do newProg=`/bin/ls -ld "${prog}"` - #echo ${newProg} + echo ${newProg} newProg=`expr "${newProg}" : ".* -> \(.*\)$"` @@ -55,7 +61,7 @@ javaOpts="" # If you want DX to have more memory when executing, uncomment the following # line and adjust the value accordingly. Use "java -X" for a list of options # you can pass here. -# +# javaOpts="-Xmx256M" # Alternatively, this will extract any parameter "-Jxxx" from the command line diff --git a/apktools/smali b/apktools/smali index a6619f8..9ede675 100755 --- a/apktools/smali +++ b/apktools/smali @@ -14,6 +14,12 @@ # See the License for the specific language governing permissions and # limitations under the License. +# As per the Apache license requirements, this file has been modified +# from its original state. +# +# Such modifications are Copyright (C) 2010 Ben Gruver, and are released +# under the original license + # This script is a wrapper for smali.jar, so you can simply call "smali", # instead of java -jar smali.jar. It is heavily based on the "dx" script # from the Android SDK @@ -23,7 +29,7 @@ prog="$0" while [ -h "${prog}" ]; do newProg=`/bin/ls -ld "${prog}"` - #echo ${newProg} + echo ${newProg} newProg=`expr "${newProg}" : ".* -> \(.*\)$"` @@ -55,7 +61,7 @@ javaOpts="" # If you want DX to have more memory when executing, uncomment the following # line and adjust the value accordingly. Use "java -X" for a list of options # you can pass here. -# +# javaOpts="-Xmx512M" # Alternatively, this will extract any parameter "-Jxxx" from the command line @@ -69,9 +75,9 @@ while expr "x$1" : 'x-J' >/dev/null; do done if [ "$OSTYPE" = "cygwin" ] ; then - jarpath=`cygpath -w "$libdir/$jarfile"` + jarpath=`cygpath -w "$libdir/$jarfile"` else - jarpath="$libdir/$jarfile" + jarpath="$libdir/$jarfile" fi exec java $javaOpts -jar "$jarpath" "$@"