Skip to content

Commit

Permalink
Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
liang8305 committed Dec 4, 2013
1 parent dcc8f6f commit eb1f007
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
/momo_4.1.1_c1
/org.funship.findsomething.channel_91_114238
/tiantianaixiaochu
/*.apk
/build/*
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

TARGET = DecTest
APK = $(TARGET).apk
SRC_DIR = build/$(TARGET)
SMALI_DIR = $(SRC_DIR)/smali
JAR = build/$(TARGET).jar

decode:
java -jar ./tools/apktool.jar d -f $(APK) $(SRC_DIR)
./tools/dex2jar-0.0.9.15/d2j-dex2jar.bat --force $(APK) -o $(JAR)
3 changes: 3 additions & 0 deletions tools/dex2jar-0.0.9.15/d2j-jar2dex.bat
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ REM
set CLASSPATH=
FOR %%i IN ("%~dp0lib\*.jar") DO CALL "%~dp0setclasspath.bat" "%%i"

echo %CLASSPATH%
echo "kjasldjfkajdsklfjsald"

java -Xms512m -Xmx1024m -cp %CLASSPATH% "com.googlecode.dex2jar.tools.Jar2Dex" %*
4 changes: 2 additions & 2 deletions tools/dex2jar-0.0.9.15/dex2jar.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh

#
# dex2jar - Tools to work with android .dex and java .class files
# Copyright (c) 2009-2012 Panxiaobo
Expand Down Expand Up @@ -37,4 +36,5 @@ for k in "$PRGDIR"/lib/*.jar
do
_classpath="${_classpath}:${k}"
done
java -Xms512m -Xmx1024m -classpath "${_classpath}" "com.googlecode.dex2jar.v3.Main" "$@"
echo ${_classpath}
java -Xms512m -Xmx1024m -classpath ${_classpath} "com.googlecode.dex2jar.v3.Main" "$@"
11 changes: 8 additions & 3 deletions tools/jd-gui.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ Version=2
LastCheck=1376667500
CurrentVersion=0.3.5
[RecentDirectories]
LoadPath=F:\\apk_hack_workspace\\org.funship.findsomething.channel_91_114238\\
LoadPath=F:\\apk_hack\\build\\
SavePath=F:\\apk_hack\\build\\source\\
[GUI]
MainWindowPosition=420,184 600x400 Maximized
[RecentFiles]
Path0=F:\\apk_hack_workspace\\org.funship.findsomething.channel_91_114238\\classes_dex2jar.jar
Path1=F:\\apk_hack_workspace\\tiantianaixiaochu\\classes_dex2jar.jar
Path0=F:\\apk_hack\\build\\DecTest.jar
Path1=F:\\apk_hack\\kuaidisiji_1.7.2-dex2jar.jar
Path2=F:\\apk_hack_workspace\\org.funship.findsomething.channel_91_114238\\classes_dex2jar.jar
Path3=F:\\apk_hack_workspace\\tiantianaixiaochu\\classes_dex2jar.jar
[Decompilation]
LastUri=
Binary file modified tools/jd-gui.exe
Binary file not shown.

0 comments on commit eb1f007

Please sign in to comment.