This repository has been archived by the owner on Feb 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
forge.config.js
94 lines (93 loc) · 2.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
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
const path = require("path");
const package = require("./package.json");
module.exports = {
packagerConfig: {
name: `${package.name}`,
appId: `${package.name}`,
productName: `${package.productName}`,
CompanyName: `${package.author.name}`,
asar: true,
icon: path.join(__dirname, "/build/icon.ico"),
ignore: [
".eslintrc",
".gitattributes",
".gitignore",
".prettierignore",
".assets",
"docs",
"node_modules/prettier",
"node_modules/eslint",
"node_modules/eslint-scope",
"node_modules/eslint-utils",
"node_modules/eslint-visitor-keys",
"electron-builder.yml",
"dev-app-update.yml",
"README.md",
],
win32metadata: {
ProductName: `${package.productName}`,
},
},
makers: [
{
name: "@electron-forge/maker-squirrel",
platforms: ["win32"],
config: {
iconUrl:
"https://raw.githubusercontent.com/Faelayis/RPC-Pc-Status/master/build/icon.ico",
setupIcon: path.join(__dirname, "/build/icon.ico"),
setupExe: `${package.name}-${package.version}.Setup.exe`,
title: `${package.productName}`,
},
},
{
name: "@electron-forge/maker-zip",
platforms: ["darwin", "linux", "win32"],
config: {},
},
{
name: "@electron-forge/maker-deb",
config: {
homepage: `${package.repository.url}`,
icon: path.join(__dirname, "/build/icon.png"),
name: `${package.name}`,
},
},
{
name: "@electron-forge/maker-rpm",
config: {
homepage: `${package.repository.url}`,
icon: path.join(__dirname, "/build/icon.png"),
name: `${package.name}`,
},
},
{
name: "electron-forge-maker-appimage",
platforms: ["linux"],
config: {
name: `${package.name}`,
},
},
{
name: "@electron-forge/maker-dmg",
platforms: ["darwin"],
config: {
name: `${package.name}-${package.version}-x64`,
format: "ULFO",
icon: path.join(__dirname, "/build/icon.icns"),
},
},
],
publishers: [
{
name: "@electron-forge/publisher-github",
config: {
repository: {
owner: "Faelayis",
name: "RPC-Pc-Status",
},
draft: false,
},
},
],
};