-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforge.config.js
More file actions
52 lines (47 loc) · 1.29 KB
/
Copy pathforge.config.js
File metadata and controls
52 lines (47 loc) · 1.29 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
const path = require("path");
const PUBLISH_IS_DRAFT = true;
const PUBLISH_IS_PRERELEASE = false;
const REL_ICON_PATH = "assets/icons/epr/epr-icon.ico";
module.exports = {
packagerConfig: {
name: "EditorPerRepo",
asar: true,
appCategoryType: "public.app-category.utilities",
icon: REL_ICON_PATH.replace(/\.ico$/, ""),
ignore: [
".idea",
".psd",
".github",
".scss",
"js/renderer/lib",
".gitignore",
".gitattributes",
"forge.config.js",
".md",
"package.json.wip"
]
},
makers: [
{
name: "@electron-forge/maker-squirrel",
config: {
name: "EditorPerRepo",
iconUrl: `file://${path.resolve(__dirname, REL_ICON_PATH)}`,
setupIcon: path.resolve(__dirname, REL_ICON_PATH)
}
}
],
publishers: [
{
name: "@electron-forge/publisher-github",
config: {
repository: {
owner: "rynstwrt",
name: "EditorPerRepoElectron"
},
prerelease: PUBLISH_IS_PRERELEASE,
draft: PUBLISH_IS_DRAFT
}
}
]
};