Commit c46703a0 authored by Skylot's avatar Skylot

gui: run jadx-gui without console

parent 129a7c39
apply plugin: 'application' apply plugin: 'application'
mainClassName = "jadx.gui.JadxGUI" mainClassName = 'jadx.gui.JadxGUI'
dependencies { dependencies {
compile(project(":jadx-core")) compile(project(":jadx-core"))
...@@ -28,6 +28,16 @@ jar { ...@@ -28,6 +28,16 @@ jar {
} }
} }
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
}
}
test { test {
jacoco { jacoco {
// coveralls plugin not support multi-project // coveralls plugin not support multi-project
......
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