config.js 415 B

12345678910111213141516171819
  1. // Electron 应用配置
  2. module.exports = {
  3. // 窗口配置
  4. window: {
  5. width: 800,
  6. height: 600,
  7. autoHideMenuBar: true, // 隐藏菜单栏(File、Edit、View、Window、Help)
  8. },
  9. // 开发工具配置
  10. devTools: {
  11. enabled: false, // 是否显示调试侧边栏(DevTools)
  12. },
  13. // Python 路径配置
  14. pythonPath: {
  15. path: 'D:\\Program\\Python312' // Python 安装路径
  16. }
  17. }