diff --git a/electron/config/config.default.js b/electron/config/config.default.js index 54e4a57..c038bcf 100644 --- a/electron/config/config.default.js +++ b/electron/config/config.default.js @@ -134,7 +134,7 @@ module.exports = (appInfo) => { * 硬件加速 */ config.hardGpu = { - enable: false + enable: true }; /** @@ -184,13 +184,6 @@ module.exports = (appInfo) => { }, force: false, }, - javaServer: { - enable: true, - port: 18080, - jreVersion: 'jre1.8.0_201', - opt: '-server -Xms512M -Xmx512M -Xss512k -Dspring.profiles.active=prod -Dserver.port=${port} -Dlogging.file.path="${path}" ', - name: 'java-app.jar' - } }; return { diff --git a/electron/config/config.local.js b/electron/config/config.local.js index 4d6f23e..1c083a6 100644 --- a/electron/config/config.local.js +++ b/electron/config/config.local.js @@ -42,14 +42,6 @@ module.exports = (appInfo) => { args: ['run', './main.go', '--env=dev','--basedir=../', '--port=7073'], appExit: true, }, - // java: { - // enable: true, - // name: 'goapp', - // cmd: 'go', - // directory: './go', - // args: ['run', './main.go', '--env=dev','--basedir=../', '--port=7073'], - // appExit: true, - // } }; return { diff --git a/frontend/src/views/cross/go/Index.vue b/frontend/src/views/cross/go/Index.vue index 9c7fbee..f8b1e0c 100644 --- a/frontend/src/views/cross/go/Index.vue +++ b/frontend/src/views/cross/go/Index.vue @@ -7,9 +7,9 @@
+ 启动 获取地址 kill - 启动 test
diff --git a/frontend/src/views/cross/java/Index.vue b/frontend/src/views/cross/java/Index.vue index 5af511a..23fb7ae 100644 --- a/frontend/src/views/cross/java/Index.vue +++ b/frontend/src/views/cross/java/Index.vue @@ -7,9 +7,9 @@
+ 启动 获取地址 kill - 启动 查看