// Electron 应用配置 module.exports = { // 窗口配置 window: { width: 800, height: 600, autoHideMenuBar: true, // 隐藏菜单栏(File、Edit、View、Window、Help) }, // 开发工具配置 devTools: { enabled: false, // 是否显示调试侧边栏(DevTools) }, // Vite 开发服务器配置 vite: { port: 9527, // Vite 开发服务器端口(如果被占用会自动尝试下一个端口) host: 'localhost' // 服务器主机地址 }, // Python 路径配置 pythonPath: { path: 'D:\\Program\\Python312' // Python 安装路径 } }