-
Notifications
You must be signed in to change notification settings - Fork 0
/
forge-config.js
50 lines (49 loc) · 1.55 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
const { utils: { fromBuildIdentifier } } = require('@electron-forge/core');
/**
* Electron Forge config.
*
* https://www.electronforge.io/config/makers/squirrel.windows
* https://www.electronforge.io/config/makers/zip
* https://www.electronforge.io/config/publishers/github
*/
module.exports = {
// Previously, buildIdentidier was either 'prod' or 'beta'. Now, it is always 'prod'.
buildIdentifier: 'prod',
packagerConfig: {
appBundleId: fromBuildIdentifier({ prod: 'fi.traficom.lem.ui', beta: 'fi.traficom.beta.lem.ui' }),
icon: "./appicons/icons/win/favicon.ico"
},
makers: [
{
name: "@electron-forge/maker-squirrel",
config: {
name: "lem",
authors: "Traficom, Helsingin Seudun Liikenne -kuntayhtyma",
// iconUrl: "https://raw.githubusercontent.com/HSLdevcom/helmet-ui/e3714d944c62c6ba4b8ed1ce8ac57fcbecaf0f13/helmet.ico",
// loadingGif: '',
// setupIcon: 'helmet.ico',
}
},
{
name: "@electron-forge/maker-zip",
},
{
name: "@electron-forge/maker-deb",
config: {}
}
],
publishers: [
{
name: '@electron-forge/publisher-github',
config: {
repository: {
owner: 'Traficom',
name: 'lem-ui'
},
draft: true,
prerelease: false,
authToken: process.env.GITHUB_TOKEN
}
}
]
}