-
Notifications
You must be signed in to change notification settings - Fork 2
/
forge.config.js
76 lines (76 loc) · 1.96 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
module.exports = {
packagerConfig: {
icon: './icons/icon.png',
executableName: 'flashplayer',
protocols: [
{
name: "flashplayer",
schemes: ["flashplayer"]
}
]
},
makers: [
{
name: '@electron-forge/maker-squirrel',
config: {
authors: 'allancoding',
description: 'A flash player!',
iconUrl: 'https://raw.githubusercontent.com/allancoding/flashplayer/master/icon.ico',
setupIcon: './icons/icon.ico',
certificateFile: './flashplayer.pfx',
certificatePassword: process.env.CERTIFICATE_PASSWORD,
mimeType: ["x-scheme-handler/flashplayer"]
}
},
{
name: '@electron-forge/maker-zip'
},
{
name: '@electron-forge/maker-deb',
config: {
options: {
name: "Flashplayer",
productName: "flashplayer",
maintainer: 'allancoding',
homepage: 'https://github.com/allancoding/flashplayer',
icon: './icons/icon.png',
bin: "flashplayer",
},
mimeType: ["x-scheme-handler/flashplayer"]
}
},
{
name: '@electron-forge/maker-dmg',
config: {
backgroundColor: "#000",
format: 'ULFO',
bin: "flashplayer",
icon: './icons/icon.icns',
category: "public.app-category.utilities"
}
},
{
name: "@rabbitholesyndrome/electron-forge-maker-portable",
config: {
appId: "com.allancoding.flashplayer",
icon: "./icons/icon.ico"
}
},
{
name: "@reforged/maker-appimage",
config: {
options: {
name: "Flashplayer",
bin: "flashplayer",
productName: "Flashplayer",
genericName: "Flashplayer",
categories: ["Utility"],
icon: "./icons/icon.png",
description: "A flash player!",
AppImageKitRelease: "continuous"
},
mimeType: ["x-scheme-handler/flashplayer"]
}
}
]
};