'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 }; };