mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-06-12 14:11:05 +08:00
config
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user