Commit b9523143 authored by 阮传宙's avatar 阮传宙

fix: 兼容window启动

parent 17f225dd
...@@ -37,7 +37,7 @@ function javaServer() { ...@@ -37,7 +37,7 @@ function javaServer() {
let isStart = false let isStart = false
child.stdout.on('data', function (stdout) { child.stdout.on('data', function (stdout) {
log.info(stdout, '----') log.info(stdout, '----')
if (stdout.includes('Started Application in') && !isStart) { if (stdout.includes('http://localhost') && !isStart) {
if (!isMac()) { if (!isMac()) {
process.send('close') process.send('close')
} else { } else {
......
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