-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
forge.config.js
155 lines (155 loc) · 3.71 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
module.exports = {
packagerConfig: {
name: "Yamus",
arch: 'all',
buildIdentifier: 'prod',
packagerConfig: {
appBundleId: 'xyz.dartpower.yamus'
},
appCopyright: 'Copyright (c) 2024 DartPower Team & Yandex. All Rights Reserved.',
executableName: "Yamus",
icon: './assets/icon.png',
out: './dist',
platform: [
'darwin',
'win32',
'linux',
'mas'
],
win32metadata: {
CompanyName: 'DartPower Team',
FileDescription: 'Yandex.Music Desktop App',
InternalName: 'Yamus',
ProductName: 'Yamus'
},
appCategoryType: 'public.app-category.music',
darwinDarkModeSupport: true,
},
rebuildConfig: {},
makers: [
// {
// name: '@electron-forge/maker-appx',
// config: {
// packageName: 'Yamus',
// packageDisplayName: 'Yamus',
// packageDescription: 'Yandex.Music Desktop App',
// publisher: 'CN=developmentca',
// devCert: './assets/devcert.pfx',
// certPass: 'process.env.certPass'
// }
// },
{
name: '@electron-forge/maker-squirrel',
config: {
name: "Yamus",
authors: 'DartPower Team',
copyright: 'Copyright (c) 2024 DartPower Team. All Rights Reserved.',
description: 'Yandex.Music Desktop App',
// exe: 'Yamus',
setupExe: 'Yamus.exe',
iconUrl: 'https://yastatic.net/s3/doc-binary/src/support/music/ru/image/icon_color.png',
loadingGif: './assets/loading.gif'
},
},
{
name: '@electron-forge/maker-zip',
platforms: ['darwin'],
},
{
name: '@electron-forge/maker-dmg',
config: {
additionalDmgOptions: {},
name: 'Yamus',
background: './assets/background.png',
icon: './assets/icon.png'
}
},
// {
// name: '@electron-forge/maker-pkg',
// config: {
// identity: 'yamus-signing-key'
// }
// },
{
name: '@electron-forge/maker-deb',
config: {
options: {
name: 'Yamus',
genericName: 'Yamus',
productName: 'Yamus',
description: 'Yandex.Music Desktop App',
maintainer: 'DartPower',
homepage: 'https://dpteam.github.io',
icon: './assets/icon.png',
depends: [
"libgtk-3-0",
"libnss3",
"libxtst6",
"xdg-utils",
"libatspi2.0-0",
"libuuid1"
],
categories: [
'Graphics',
'Office',
'Utility'
]
}
},
},
{
name: '@electron-forge/maker-flatpak',
config: {
options: {
productName: 'Yamus',
id: 'xyz.dartpower.yamus',
genericName: 'Yamus',
icon: './assets/icon.png',
description: 'Yandex.Music Desktop App',
modules: [
"libgtk-3-0",
"libnss3",
"libxtst6",
"xdg-utils",
"libatspi2.0-0",
"libuuid1"
],
categories: [
'Graphics',
'Office',
'Utility'
]
}
}
},
{
name: '@electron-forge/maker-snap',
config: {
name: 'Yamus',
executableName: 'Yamus.snap',
grade: 'stable'
}
},
],
publishers: [
{
name: '@electron-forge/publisher-github',
config: {
draft: true,
authToken: 'GITHUB_TOKEN',
tagPrefix: 'v',
repository: {
owner: 'dpteam',
name: 'Yamus'
},
prerelease: false
}
},
{
name: '@electron-forge/publisher-snapcraft',
config: {
release: "latest/stable"
}
},
]
};