-
Notifications
You must be signed in to change notification settings - Fork 0
/
forge.config.js
47 lines (47 loc) · 1.16 KB
/
forge.config.js
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
module.exports = {
"packagerConfig": {
"icon": "./src/assets/images/icon.png",
"dir": "./src",
"ignore": "^/(?!src|package\\.json|node_modules)",
"certificateFile": "./build/certificate.pfx",
"certificatePassword": process .env .CERT_PASSWORD,
"extendInfo": "./src/assets/Info.plist",
"osxSign": {
"optionsForFile": (filePath) => {
// Here, we keep it simple and return a single entitlements.plist file.
// You can use this callback to map different sets of entitlements
// to specific files in your packaged app.
return {
"entitlements": "src/assets/Entitlements.plist"
};
}
}
},
"makers": [
{
"name": "@electron-forge/maker-squirrel"
},
{
"name": "@electron-forge/maker-dmg"
},
{
"name": "@electron-forge/maker-deb"
},
{
"name": "@electron-forge/maker-rpm"
}
],
"publishers": [
{
"name": "@electron-forge/publisher-github",
"config": {
"repository": {
"owner": "create3000",
"name": "sunrize"
},
"prerelease": false,
"draft": false
}
}
]
};