File tree Expand file tree Collapse file tree
src/the/bytecode/club/bytecodeviewer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public class Dex2Jar {
3737 public static synchronized void dex2Jar (File input , File output ) {
3838 try {
3939 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" );
4141 File realOutputF = new File (realOutput );
4242 realOutputF .renameTo (output );
4343 File realOutputF2 = new File (realOutput );
@@ -57,7 +57,7 @@ public static synchronized void dex2Jar(File input, File output) {
5757 public static synchronized void saveAsDex (File input , File output ) {
5858 try {
5959 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" );
6161 File realOutputF = new File (realOutput );
6262 realOutputF .renameTo (output );
6363 File realOutputF2 = new File (realOutput );
You can’t perform that action at this time.
0 commit comments