dex2jar 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/.travis.yml +7 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +40 -0
- data/Rakefile +2 -0
- data/bin/dex2jar +29 -0
- data/bin/dex2jar-0.0.9.15/LICENSE.txt +203 -0
- data/bin/dex2jar-0.0.9.15/NOTICE.txt +7 -0
- data/bin/dex2jar-0.0.9.15/d2j-apk-sign.bat +23 -0
- data/bin/dex2jar-0.0.9.15/d2j-apk-sign.sh +40 -0
- data/bin/dex2jar-0.0.9.15/d2j-asm-verify.bat +23 -0
- data/bin/dex2jar-0.0.9.15/d2j-asm-verify.sh +40 -0
- data/bin/dex2jar-0.0.9.15/d2j-decrpyt-string.bat +23 -0
- data/bin/dex2jar-0.0.9.15/d2j-decrpyt-string.sh +40 -0
- data/bin/dex2jar-0.0.9.15/d2j-dex-asmifier.bat +23 -0
- data/bin/dex2jar-0.0.9.15/d2j-dex-asmifier.sh +40 -0
- data/bin/dex2jar-0.0.9.15/d2j-dex-dump.bat +23 -0
- data/bin/dex2jar-0.0.9.15/d2j-dex-dump.sh +40 -0
- data/bin/dex2jar-0.0.9.15/d2j-dex2jar.bat +23 -0
- data/bin/dex2jar-0.0.9.15/d2j-dex2jar.sh +40 -0
- data/bin/dex2jar-0.0.9.15/d2j-init-deobf.bat +23 -0
- data/bin/dex2jar-0.0.9.15/d2j-init-deobf.sh +40 -0
- data/bin/dex2jar-0.0.9.15/d2j-jar-access.bat +23 -0
- data/bin/dex2jar-0.0.9.15/d2j-jar-access.sh +40 -0
- data/bin/dex2jar-0.0.9.15/d2j-jar-remap.bat +23 -0
- data/bin/dex2jar-0.0.9.15/d2j-jar-remap.sh +40 -0
- data/bin/dex2jar-0.0.9.15/d2j-jar2dex.bat +23 -0
- data/bin/dex2jar-0.0.9.15/d2j-jar2dex.sh +40 -0
- data/bin/dex2jar-0.0.9.15/d2j-jar2jasmin.bat +23 -0
- data/bin/dex2jar-0.0.9.15/d2j-jar2jasmin.sh +40 -0
- data/bin/dex2jar-0.0.9.15/d2j-jasmin2jar.bat +23 -0
- data/bin/dex2jar-0.0.9.15/d2j-jasmin2jar.sh +40 -0
- data/bin/dex2jar-0.0.9.15/dex-dump.bat +6 -0
- data/bin/dex2jar-0.0.9.15/dex-dump.sh +23 -0
- data/bin/dex2jar-0.0.9.15/dex2jar.bat +23 -0
- data/bin/dex2jar-0.0.9.15/dex2jar.sh +40 -0
- data/bin/dex2jar-0.0.9.15/lib/asm-LICENSE.txt +28 -0
- data/bin/dex2jar-0.0.9.15/lib/asm-all-3.3.1.jar +0 -0
- data/bin/dex2jar-0.0.9.15/lib/commons-io-LICENSE.txt +203 -0
- data/bin/dex2jar-0.0.9.15/lib/commons-io-NOTICE.txt +6 -0
- data/bin/dex2jar-0.0.9.15/lib/commons-lite-1.15.jar +0 -0
- data/bin/dex2jar-0.0.9.15/lib/dex-ir-1.12.jar +0 -0
- data/bin/dex2jar-0.0.9.15/lib/dex-reader-1.15.jar +0 -0
- data/bin/dex2jar-0.0.9.15/lib/dex-tools-0.0.9.15.jar +0 -0
- data/bin/dex2jar-0.0.9.15/lib/dex-translator-0.0.9.15.jar +0 -0
- data/bin/dex2jar-0.0.9.15/lib/dx-NOTICE +190 -0
- data/bin/dex2jar-0.0.9.15/lib/dx.jar +0 -0
- data/bin/dex2jar-0.0.9.15/lib/jar-rename-1.6.jar +0 -0
- data/bin/dex2jar-0.0.9.15/lib/jasmin-p2.5.jar +0 -0
- data/bin/dex2jar-0.0.9.15/lib/license-jasmin.txt +30 -0
- data/bin/dex2jar-0.0.9.15/setclasspath.bat +1 -0
- data/dex2jar.gemspec +28 -0
- data/lib/dex2jar.rb +12 -0
- data/lib/dex2jar/command.rb +27 -0
- data/lib/dex2jar/version.rb +3 -0
- data/spec/lib/command_spec.rb +27 -0
- data/spec/spec_helper.rb +16 -0
- metadata +189 -0
@@ -0,0 +1,40 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
|
3
|
+
#
|
4
|
+
# dex2jar - Tools to work with android .dex and java .class files
|
5
|
+
# Copyright (c) 2009-2012 Panxiaobo
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
# copy from $Tomcat/bin/startup.sh
|
21
|
+
# resolve links - $0 may be a softlink
|
22
|
+
PRG="$0"
|
23
|
+
while [ -h "$PRG" ] ; do
|
24
|
+
ls=`ls -ld "$PRG"`
|
25
|
+
link=`expr "$ls" : '.*-> \(.*\)$'`
|
26
|
+
if expr "$link" : '/.*' > /dev/null; then
|
27
|
+
PRG="$link"
|
28
|
+
else
|
29
|
+
PRG=`dirname "$PRG"`/"$link"
|
30
|
+
fi
|
31
|
+
done
|
32
|
+
PRGDIR=`dirname "$PRG"`
|
33
|
+
#
|
34
|
+
|
35
|
+
_classpath="."
|
36
|
+
for k in "$PRGDIR"/lib/*.jar
|
37
|
+
do
|
38
|
+
_classpath="${_classpath}:${k}"
|
39
|
+
done
|
40
|
+
java -Xms512m -Xmx1024m -classpath "${_classpath}" "com.googlecode.dex2jar.tools.AsmVerify" "$@"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@echo off
|
2
|
+
|
3
|
+
REM
|
4
|
+
REM dex2jar - Tools to work with android .dex and java .class files
|
5
|
+
REM Copyright (c) 2009-2012 Panxiaobo
|
6
|
+
REM
|
7
|
+
REM Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
REM you may not use this file except in compliance with the License.
|
9
|
+
REM You may obtain a copy of the License at
|
10
|
+
REM
|
11
|
+
REM http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
REM
|
13
|
+
REM Unless required by applicable law or agreed to in writing, software
|
14
|
+
REM distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
REM See the License for the specific language governing permissions and
|
17
|
+
REM limitations under the License.
|
18
|
+
REM
|
19
|
+
|
20
|
+
set CLASSPATH=
|
21
|
+
FOR %%i IN ("%~dp0lib\*.jar") DO CALL "%~dp0setclasspath.bat" "%%i"
|
22
|
+
|
23
|
+
java -Xms512m -Xmx1024m -cp %CLASSPATH% "com.googlecode.dex2jar.tools.DecryptStringCmd" %*
|
@@ -0,0 +1,40 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
|
3
|
+
#
|
4
|
+
# dex2jar - Tools to work with android .dex and java .class files
|
5
|
+
# Copyright (c) 2009-2012 Panxiaobo
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
# copy from $Tomcat/bin/startup.sh
|
21
|
+
# resolve links - $0 may be a softlink
|
22
|
+
PRG="$0"
|
23
|
+
while [ -h "$PRG" ] ; do
|
24
|
+
ls=`ls -ld "$PRG"`
|
25
|
+
link=`expr "$ls" : '.*-> \(.*\)$'`
|
26
|
+
if expr "$link" : '/.*' > /dev/null; then
|
27
|
+
PRG="$link"
|
28
|
+
else
|
29
|
+
PRG=`dirname "$PRG"`/"$link"
|
30
|
+
fi
|
31
|
+
done
|
32
|
+
PRGDIR=`dirname "$PRG"`
|
33
|
+
#
|
34
|
+
|
35
|
+
_classpath="."
|
36
|
+
for k in "$PRGDIR"/lib/*.jar
|
37
|
+
do
|
38
|
+
_classpath="${_classpath}:${k}"
|
39
|
+
done
|
40
|
+
java -Xms512m -Xmx1024m -classpath "${_classpath}" "com.googlecode.dex2jar.tools.DecryptStringCmd" "$@"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@echo off
|
2
|
+
|
3
|
+
REM
|
4
|
+
REM dex2jar - Tools to work with android .dex and java .class files
|
5
|
+
REM Copyright (c) 2009-2012 Panxiaobo
|
6
|
+
REM
|
7
|
+
REM Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
REM you may not use this file except in compliance with the License.
|
9
|
+
REM You may obtain a copy of the License at
|
10
|
+
REM
|
11
|
+
REM http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
REM
|
13
|
+
REM Unless required by applicable law or agreed to in writing, software
|
14
|
+
REM distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
REM See the License for the specific language governing permissions and
|
17
|
+
REM limitations under the License.
|
18
|
+
REM
|
19
|
+
|
20
|
+
set CLASSPATH=
|
21
|
+
FOR %%i IN ("%~dp0lib\*.jar") DO CALL "%~dp0setclasspath.bat" "%%i"
|
22
|
+
|
23
|
+
java -Xms512m -Xmx1024m -cp %CLASSPATH% "com.googlecode.dex2jar.util.ASMifierFileV" %*
|
@@ -0,0 +1,40 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
|
3
|
+
#
|
4
|
+
# dex2jar - Tools to work with android .dex and java .class files
|
5
|
+
# Copyright (c) 2009-2012 Panxiaobo
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
# copy from $Tomcat/bin/startup.sh
|
21
|
+
# resolve links - $0 may be a softlink
|
22
|
+
PRG="$0"
|
23
|
+
while [ -h "$PRG" ] ; do
|
24
|
+
ls=`ls -ld "$PRG"`
|
25
|
+
link=`expr "$ls" : '.*-> \(.*\)$'`
|
26
|
+
if expr "$link" : '/.*' > /dev/null; then
|
27
|
+
PRG="$link"
|
28
|
+
else
|
29
|
+
PRG=`dirname "$PRG"`/"$link"
|
30
|
+
fi
|
31
|
+
done
|
32
|
+
PRGDIR=`dirname "$PRG"`
|
33
|
+
#
|
34
|
+
|
35
|
+
_classpath="."
|
36
|
+
for k in "$PRGDIR"/lib/*.jar
|
37
|
+
do
|
38
|
+
_classpath="${_classpath}:${k}"
|
39
|
+
done
|
40
|
+
java -Xms512m -Xmx1024m -classpath "${_classpath}" "com.googlecode.dex2jar.util.ASMifierFileV" "$@"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@echo off
|
2
|
+
|
3
|
+
REM
|
4
|
+
REM dex2jar - Tools to work with android .dex and java .class files
|
5
|
+
REM Copyright (c) 2009-2012 Panxiaobo
|
6
|
+
REM
|
7
|
+
REM Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
REM you may not use this file except in compliance with the License.
|
9
|
+
REM You may obtain a copy of the License at
|
10
|
+
REM
|
11
|
+
REM http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
REM
|
13
|
+
REM Unless required by applicable law or agreed to in writing, software
|
14
|
+
REM distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
REM See the License for the specific language governing permissions and
|
17
|
+
REM limitations under the License.
|
18
|
+
REM
|
19
|
+
|
20
|
+
set CLASSPATH=
|
21
|
+
FOR %%i IN ("%~dp0lib\*.jar") DO CALL "%~dp0setclasspath.bat" "%%i"
|
22
|
+
|
23
|
+
java -Xms512m -Xmx1024m -cp %CLASSPATH% "com.googlecode.dex2jar.util.Dump" %*
|
@@ -0,0 +1,40 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
|
3
|
+
#
|
4
|
+
# dex2jar - Tools to work with android .dex and java .class files
|
5
|
+
# Copyright (c) 2009-2012 Panxiaobo
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
# copy from $Tomcat/bin/startup.sh
|
21
|
+
# resolve links - $0 may be a softlink
|
22
|
+
PRG="$0"
|
23
|
+
while [ -h "$PRG" ] ; do
|
24
|
+
ls=`ls -ld "$PRG"`
|
25
|
+
link=`expr "$ls" : '.*-> \(.*\)$'`
|
26
|
+
if expr "$link" : '/.*' > /dev/null; then
|
27
|
+
PRG="$link"
|
28
|
+
else
|
29
|
+
PRG=`dirname "$PRG"`/"$link"
|
30
|
+
fi
|
31
|
+
done
|
32
|
+
PRGDIR=`dirname "$PRG"`
|
33
|
+
#
|
34
|
+
|
35
|
+
_classpath="."
|
36
|
+
for k in "$PRGDIR"/lib/*.jar
|
37
|
+
do
|
38
|
+
_classpath="${_classpath}:${k}"
|
39
|
+
done
|
40
|
+
java -Xms512m -Xmx1024m -classpath "${_classpath}" "com.googlecode.dex2jar.util.Dump" "$@"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@echo off
|
2
|
+
|
3
|
+
REM
|
4
|
+
REM dex2jar - Tools to work with android .dex and java .class files
|
5
|
+
REM Copyright (c) 2009-2012 Panxiaobo
|
6
|
+
REM
|
7
|
+
REM Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
REM you may not use this file except in compliance with the License.
|
9
|
+
REM You may obtain a copy of the License at
|
10
|
+
REM
|
11
|
+
REM http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
REM
|
13
|
+
REM Unless required by applicable law or agreed to in writing, software
|
14
|
+
REM distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
REM See the License for the specific language governing permissions and
|
17
|
+
REM limitations under the License.
|
18
|
+
REM
|
19
|
+
|
20
|
+
set CLASSPATH=
|
21
|
+
FOR %%i IN ("%~dp0lib\*.jar") DO CALL "%~dp0setclasspath.bat" "%%i"
|
22
|
+
|
23
|
+
java -Xms512m -Xmx1024m -cp %CLASSPATH% "com.googlecode.dex2jar.tools.Dex2jarCmd" %*
|
@@ -0,0 +1,40 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
|
3
|
+
#
|
4
|
+
# dex2jar - Tools to work with android .dex and java .class files
|
5
|
+
# Copyright (c) 2009-2012 Panxiaobo
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
# copy from $Tomcat/bin/startup.sh
|
21
|
+
# resolve links - $0 may be a softlink
|
22
|
+
PRG="$0"
|
23
|
+
while [ -h "$PRG" ] ; do
|
24
|
+
ls=`ls -ld "$PRG"`
|
25
|
+
link=`expr "$ls" : '.*-> \(.*\)$'`
|
26
|
+
if expr "$link" : '/.*' > /dev/null; then
|
27
|
+
PRG="$link"
|
28
|
+
else
|
29
|
+
PRG=`dirname "$PRG"`/"$link"
|
30
|
+
fi
|
31
|
+
done
|
32
|
+
PRGDIR=`dirname "$PRG"`
|
33
|
+
#
|
34
|
+
|
35
|
+
_classpath="."
|
36
|
+
for k in "$PRGDIR"/lib/*.jar
|
37
|
+
do
|
38
|
+
_classpath="${_classpath}:${k}"
|
39
|
+
done
|
40
|
+
java -Xms512m -Xmx1024m -classpath "${_classpath}" "com.googlecode.dex2jar.tools.Dex2jarCmd" "$@"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@echo off
|
2
|
+
|
3
|
+
REM
|
4
|
+
REM dex2jar - Tools to work with android .dex and java .class files
|
5
|
+
REM Copyright (c) 2009-2012 Panxiaobo
|
6
|
+
REM
|
7
|
+
REM Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
REM you may not use this file except in compliance with the License.
|
9
|
+
REM You may obtain a copy of the License at
|
10
|
+
REM
|
11
|
+
REM http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
REM
|
13
|
+
REM Unless required by applicable law or agreed to in writing, software
|
14
|
+
REM distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
REM See the License for the specific language governing permissions and
|
17
|
+
REM limitations under the License.
|
18
|
+
REM
|
19
|
+
|
20
|
+
set CLASSPATH=
|
21
|
+
FOR %%i IN ("%~dp0lib\*.jar") DO CALL "%~dp0setclasspath.bat" "%%i"
|
22
|
+
|
23
|
+
java -Xms512m -Xmx1024m -cp %CLASSPATH% "com.googlecode.dex2jar.tools.DeObfInitCmd" %*
|
@@ -0,0 +1,40 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
|
3
|
+
#
|
4
|
+
# dex2jar - Tools to work with android .dex and java .class files
|
5
|
+
# Copyright (c) 2009-2012 Panxiaobo
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
# copy from $Tomcat/bin/startup.sh
|
21
|
+
# resolve links - $0 may be a softlink
|
22
|
+
PRG="$0"
|
23
|
+
while [ -h "$PRG" ] ; do
|
24
|
+
ls=`ls -ld "$PRG"`
|
25
|
+
link=`expr "$ls" : '.*-> \(.*\)$'`
|
26
|
+
if expr "$link" : '/.*' > /dev/null; then
|
27
|
+
PRG="$link"
|
28
|
+
else
|
29
|
+
PRG=`dirname "$PRG"`/"$link"
|
30
|
+
fi
|
31
|
+
done
|
32
|
+
PRGDIR=`dirname "$PRG"`
|
33
|
+
#
|
34
|
+
|
35
|
+
_classpath="."
|
36
|
+
for k in "$PRGDIR"/lib/*.jar
|
37
|
+
do
|
38
|
+
_classpath="${_classpath}:${k}"
|
39
|
+
done
|
40
|
+
java -Xms512m -Xmx1024m -classpath "${_classpath}" "com.googlecode.dex2jar.tools.DeObfInitCmd" "$@"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@echo off
|
2
|
+
|
3
|
+
REM
|
4
|
+
REM dex2jar - Tools to work with android .dex and java .class files
|
5
|
+
REM Copyright (c) 2009-2012 Panxiaobo
|
6
|
+
REM
|
7
|
+
REM Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
REM you may not use this file except in compliance with the License.
|
9
|
+
REM You may obtain a copy of the License at
|
10
|
+
REM
|
11
|
+
REM http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
REM
|
13
|
+
REM Unless required by applicable law or agreed to in writing, software
|
14
|
+
REM distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
REM See the License for the specific language governing permissions and
|
17
|
+
REM limitations under the License.
|
18
|
+
REM
|
19
|
+
|
20
|
+
set CLASSPATH=
|
21
|
+
FOR %%i IN ("%~dp0lib\*.jar") DO CALL "%~dp0setclasspath.bat" "%%i"
|
22
|
+
|
23
|
+
java -Xms512m -Xmx1024m -cp %CLASSPATH% "com.googlecode.dex2jar.tools.JarAccessCmd" %*
|
@@ -0,0 +1,40 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
|
3
|
+
#
|
4
|
+
# dex2jar - Tools to work with android .dex and java .class files
|
5
|
+
# Copyright (c) 2009-2012 Panxiaobo
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
# copy from $Tomcat/bin/startup.sh
|
21
|
+
# resolve links - $0 may be a softlink
|
22
|
+
PRG="$0"
|
23
|
+
while [ -h "$PRG" ] ; do
|
24
|
+
ls=`ls -ld "$PRG"`
|
25
|
+
link=`expr "$ls" : '.*-> \(.*\)$'`
|
26
|
+
if expr "$link" : '/.*' > /dev/null; then
|
27
|
+
PRG="$link"
|
28
|
+
else
|
29
|
+
PRG=`dirname "$PRG"`/"$link"
|
30
|
+
fi
|
31
|
+
done
|
32
|
+
PRGDIR=`dirname "$PRG"`
|
33
|
+
#
|
34
|
+
|
35
|
+
_classpath="."
|
36
|
+
for k in "$PRGDIR"/lib/*.jar
|
37
|
+
do
|
38
|
+
_classpath="${_classpath}:${k}"
|
39
|
+
done
|
40
|
+
java -Xms512m -Xmx1024m -classpath "${_classpath}" "com.googlecode.dex2jar.tools.JarAccessCmd" "$@"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@echo off
|
2
|
+
|
3
|
+
REM
|
4
|
+
REM dex2jar - Tools to work with android .dex and java .class files
|
5
|
+
REM Copyright (c) 2009-2012 Panxiaobo
|
6
|
+
REM
|
7
|
+
REM Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
REM you may not use this file except in compliance with the License.
|
9
|
+
REM You may obtain a copy of the License at
|
10
|
+
REM
|
11
|
+
REM http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
REM
|
13
|
+
REM Unless required by applicable law or agreed to in writing, software
|
14
|
+
REM distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
REM See the License for the specific language governing permissions and
|
17
|
+
REM limitations under the License.
|
18
|
+
REM
|
19
|
+
|
20
|
+
set CLASSPATH=
|
21
|
+
FOR %%i IN ("%~dp0lib\*.jar") DO CALL "%~dp0setclasspath.bat" "%%i"
|
22
|
+
|
23
|
+
java -Xms512m -Xmx1024m -cp %CLASSPATH% "com.googlecode.dex2jar.tools.JarRemap" %*
|