github.com/easysoft/zendata@v0.0.0-20240513203326-705bd5a7fd67/client/forge.config.js (about) 1 module.exports = { 2 electronPackagerConfig: { 3 "name": "zd", 4 "icon": "./ui/favicon.ico" 5 }, 6 packagerConfig: { 7 "name": "zd", 8 "icon": "./icon/favicon.icns", 9 extraResource: [ 10 './bin', 11 './ui', 12 './lang', 13 ] 14 }, 15 makers: [ 16 { 17 name: '@electron-forge/maker-squirrel', 18 config: { 19 name: 'zd', 20 options: { 21 icon: "./ui/favicon.png" 22 } 23 } 24 }, 25 { 26 name: '@electron-forge/maker-deb', 27 config: { 28 name: 'zd', 29 options: { 30 icon: "./ui/favicon.png" 31 } 32 } 33 }, 34 { 35 name: '@electron-forge/maker-rpm', 36 config: { 37 name: 'zd', 38 options: { 39 icon: "./ui/favicon.png" 40 } 41 } 42 }, 43 { 44 name: '@electron-forge/maker-zip', 45 platforms: [ 46 'darwin' 47 ] 48 } 49 ], 50 plugins: [ 51 [ 52 "@electron-forge/plugin-webpack", 53 { 54 mainConfig: './webpack.main.config.js', 55 renderer: { 56 config: './webpack.renderer.config.js', 57 entryPoints: [ 58 // { 59 // html: './src/index.html', 60 // js: './src/renderer.js', 61 // name: 'main_window' 62 // } 63 ] 64 } 65 } 66 ], 67 [ 68 "@timfish/forge-externals-plugin", 69 { 70 "externals": ["@electron/remote"], 71 "includeDeps": true 72 } 73 ] 74 ] 75 }