File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/the/bytecode/club/bytecodeviewer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public class Dex2Jar {
37
37
public static synchronized void dex2Jar (File input , File output ) {
38
38
try {
39
39
com .googlecode .dex2jar .tools .Dex2jarCmd .main (new String []{input .getAbsolutePath ()});
40
- String realOutput = input .getName ().replaceAll (".dex" , "-dex2jar.jar" ).replaceAll (".apk" , "-dex2jar.jar" );
40
+ String realOutput = input .getName ().replaceAll ("\\ .dex" , "-dex2jar.jar" ).replaceAll ("\\ .apk" , "-dex2jar.jar" );
41
41
File realOutputF = new File (realOutput );
42
42
realOutputF .renameTo (output );
43
43
File realOutputF2 = new File (realOutput );
@@ -57,7 +57,7 @@ public static synchronized void dex2Jar(File input, File output) {
57
57
public static synchronized void saveAsDex (File input , File output ) {
58
58
try {
59
59
com .googlecode .dex2jar .tools .Jar2Dex .main (new String []{input .getAbsolutePath ()});
60
- String realOutput = input .getName ().replaceAll (".jar" , "-jar2dex.dex" );
60
+ String realOutput = input .getName ().replaceAll ("\\ .jar" , "-jar2dex.dex" );
61
61
File realOutputF = new File (realOutput );
62
62
realOutputF .renameTo (output );
63
63
File realOutputF2 = new File (realOutput );
You can’t perform that action at this time.
0 commit comments