-
Notifications
You must be signed in to change notification settings - Fork 1
/
forge.config.js
55 lines (54 loc) · 1.3 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
const path = require("path");
module.exports = {
packagerConfig: {},
publishers: [
{
name: "@electron-forge/publisher-github",
config: {
// authToken: GITHUB_ACTIONS env var
draft: true,
prerelease: false,
repository: {
name: "clippy",
owner: "kl13nt",
},
},
},
],
makers: [
// windows
{
name: "@electron-forge/maker-squirrel",
config: {
authors: "Nabil Tharwat @kl13nt",
description: "Clippy is a minimal clipboard manager",
loadingGif: path.resolve(__dirname, "./assets/9190_rainbow_hype.gif"),
noMsi: false,
},
},
{
name: "@electron-forge/maker-zip",
},
// debian-based only with the fakeroot and dpkg packages
// GH actions doesn't support deb
{
name: "@electron-forge/maker-deb",
config: {
options: {
maintainer: "Nabil Tharwat",
homepage: "https://github.com/KL13NT/clippy/",
},
},
},
// red-hat, can only build the RPM target on Linux machines with the rpm or rpm-build
{
name: "@electron-forge/maker-rpm",
config: {
options: {
maintainer: "Nabil Tharwat",
homepage: "https://github.com/KL13NT/clippy/",
},
},
},
],
};