Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update apktool tools in coron #5

Open
wants to merge 1 commit into
base: coron-4.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified apktools/apktool.jar
Binary file not shown.
10 changes: 8 additions & 2 deletions apktools/baksmali
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -23,7 +29,7 @@
prog="$0"
while [ -h "${prog}" ]; do
newProg=`/bin/ls -ld "${prog}"`
#echo ${newProg}
echo ${newProg}


newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
Expand Down Expand Up @@ -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
Expand Down
14 changes: 10 additions & 4 deletions apktools/smali
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -23,7 +29,7 @@
prog="$0"
while [ -h "${prog}" ]; do
newProg=`/bin/ls -ld "${prog}"`
#echo ${newProg}
echo ${newProg}


newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
Expand Down Expand Up @@ -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
Expand All @@ -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" "$@"