This commit is contained in:
gaoshuaixing
2024-01-15 15:43:21 +08:00
parent 078acec2d7
commit 0ebe7dddbb
4 changed files with 3 additions and 18 deletions

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -7,9 +7,9 @@
</div>
<div class="one-block-2">
<a-space>
<a-button @click="create()"> 启动 </a-button>
<a-button @click="getUrl()"> 获取地址 </a-button>
<a-button @click="kill()"> kill </a-button>
<a-button @click="create()"> 启动 </a-button>
<a-button @click="info()"> test </a-button>
</a-space>
</div>

View File

@@ -7,9 +7,9 @@
</div>
<div class="one-block-2">
<a-space>
<a-button @click="create()"> 启动 </a-button>
<a-button @click="getUrl()"> 获取地址 </a-button>
<a-button @click="kill()"> kill </a-button>
<a-button @click="create()"> 启动 </a-button>
<a-button @click="info()"> 查看 </a-button>
</a-space>
</div>