Commit 29a137bd authored by Jan S's avatar Jan S Committed by skylot

fix: jadx-gui.bat and jadx.bat do not work (#692) (PR #694)

parent f02a33ac
...@@ -22,7 +22,6 @@ startScripts { ...@@ -22,7 +22,6 @@ startScripts {
defaultJvmOpts = ['-Xms128M', '-Xmx4g', '-XX:+UseG1GC'] defaultJvmOpts = ['-Xms128M', '-Xmx4g', '-XX:+UseG1GC']
doLast { doLast {
def str = windowsScript.text def str = windowsScript.text
str = str.replaceAll('set JAVA_EXE=%JAVA_HOME%/bin/java.exe', 'set JAVA_EXE="%JAVA_HOME%/bin/java.exe"')
windowsScript.text = str windowsScript.text = str
} }
} }
...@@ -51,7 +51,6 @@ startScripts { ...@@ -51,7 +51,6 @@ startScripts {
def str = windowsScript.text def str = windowsScript.text
str = str.replaceAll('java.exe', 'javaw.exe') str = str.replaceAll('java.exe', 'javaw.exe')
str = str.replaceAll('"%JAVA_EXE%" %DEFAULT_JVM_OPTS%', 'start "jadx-gui" /B "%JAVA_EXE%" %DEFAULT_JVM_OPTS%') str = str.replaceAll('"%JAVA_EXE%" %DEFAULT_JVM_OPTS%', 'start "jadx-gui" /B "%JAVA_EXE%" %DEFAULT_JVM_OPTS%')
str = str.replaceAll('set JAVA_EXE=%JAVA_HOME%/bin/javaw.exe', 'set JAVA_EXE="%JAVA_HOME%/bin/javaw.exe"')
windowsScript.text = str windowsScript.text = str
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment