1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
| 'use strict';
|
| /**
| * 生产环境配置,覆盖 config.default.js
| */
| module.exports = (appInfo) => {
| const config = {};
|
| /**
| * 开发者工具
| */
| config.openDevTools = false;
|
| /**
| * 应用程序顶部菜单
| */
| config.openAppMenu = false;
|
| /**
| * jobs
| */
| config.jobs = {
| messageLog: false
| };
| /**
| * 主进程
| */
| config.mainServer = {
|
| protocol: 'file://',
| indexPath: '/public/dist/index.html',
| port:7072,
| ssl:{
| key: '/public/ssl.localhost+1.key',
| cert: '/public/ssl.localhost+1.pem'
| }
| };
|
| return {
| ...config
| };
| };
|
|