Commit c46703a0 authored by Skylot's avatar Skylot

gui: run jadx-gui without console

parent 129a7c39
apply plugin: 'application'
mainClassName = "jadx.gui.JadxGUI"
mainClassName = 'jadx.gui.JadxGUI'
dependencies {
compile(project(":jadx-core"))
......@@ -22,9 +22,19 @@ applicationDistribution.with {
jar {
manifest {
attributes(
"Main-Class": mainClassName,
"Class-Path": configurations.compile.collect { it.getName() }.join(' ')
)
"Main-Class": mainClassName,
"Class-Path": configurations.compile.collect { it.getName() }.join(' ')
)
}
}
startScripts {
doLast {
def str = windowsScript.text
str = str.replaceAll('java.exe', 'javaw.exe')
str = str.replaceAll('"%JAVA_EXE%" %DEFAULT_JVM_OPTS%',
'start "jadx-gui" /B "%JAVA_EXE%" %DEFAULT_JVM_OPTS%')
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