-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathforge.config.js
57 lines (51 loc) · 1.36 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
48
49
50
51
52
53
54
55
56
57
/* global require */
// eslint-disable-next-line @typescript-eslint/no-var-requires
const process = require("process");
const BUNDLE_ID = "frost";
const { APPLE_API_KEY, APPLE_API_ISSUER } = process.env;
const osxNotarize =
process.platform === "darwin"
? {
appBundleId: BUNDLE_ID,
appleApiKey: APPLE_API_KEY,
appleApiIssuer: APPLE_API_ISSUER,
}
: undefined;
const extraResources = ["aws-iam-authenticator"];
/* global module */
module.exports = {
packagerConfig: {
name: "Frost",
icon: "./src/icons/AppIcon",
appBundleId: BUNDLE_ID,
extraResources,
out: "./out",
osxSign: {
"hardened-runtime": true,
entitlements: "entitlements.plist",
"entitlements-inherit": "entitlements.plist",
"signature-flags": "library",
},
osxNotarize,
extendInfo: {
LSUIElement: true,
},
},
makers: [
{
name: "@electron-forge/maker-zip",
platforms: ["darwin", "linux"],
},
],
publishers: [
{
name: "@electron-forge/publisher-github",
config: {
repository: {
owner: "popen2",
name: "frost",
},
},
},
],
};