-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathforge.config.js
More file actions
54 lines (54 loc) · 1.09 KB
/
forge.config.js
File metadata and controls
54 lines (54 loc) · 1.09 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
module.exports = {
packagerConfig: {
asar: true,
icon: "./src/assets/icons/icon",
platform: ["win32", "darwin", "linux"],
arch: ["x64", "arm64"],
osxSign: {},
osxNotarize: {
tool: 'notarytool',
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_PASSWORD,
teamId: process.env.APPLE_TEAM_ID
}
},
rebuildConfig: {},
makers: [
{
name: "@electron-forge/maker-squirrel",
config: {
iconUrl: "https://res.cloudinary.com/dcwz20wdd/image/upload/v1692345162/icon_mb9i9o.ico",
setupIcon: "./src/assets/icons/icon.ico",
},
},
{
name: "@electron-forge/maker-zip",
platforms: ["darwin"],
},
{
name: "@electron-forge/maker-deb",
config: {
options: {
icon: "./src/assets/icons/icon.png",
},
},
},
{
name: "@electron-forge/maker-rpm",
config: {},
},
{
// Path to the icon to use for the app in the DMG window
name: "@electron-forge/maker-dmg",
config: {
icon: "./src/assets/icons/icon.icns",
},
},
],
plugins: [
{
name: "@electron-forge/plugin-auto-unpack-natives",
config: {},
},
],
};