-
Notifications
You must be signed in to change notification settings - Fork 0
/
forge.config.js
57 lines (56 loc) · 1.58 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
const path = require('path');
const package = require('./package.json');
module.exports = {
make_targets: {
win32: [
"squirrel"
],
darwin: [
"zip"
],
linux: [
"deb",
"zip"
]
},
electronPackagerConfig: {
icon: path.join(__dirname, "design/logo/app-icon.png"),
packageManager: "yarn",
asar: true,
ignore: [
".git(ignore|modules)",
"(webapp)\/(?!dist)\\S+",
"license",
"nodemon.config.json",
"README.md",
"setup.js"
]
},
electronWinstallerConfig: {
name: "schoolsyst-desktop",
iconUrl: "https://raw.githubusercontent.com/schoolsyst/design/master/logo/app-icon.ico",
setupIcon: path.join(__dirname, "design/logo/app-icon.ico"),
loadingGif: path.join(__dirname, "design/logo-animations/loading-overlay.gif"),
remoteReleases: `http://desktop.schoolsyst.com/update/win32/${package.version}`
},
electronInstallerDebian: {},
electronInstallerRedhat: {},
github_repository: {
owner: "schoolsyst",
name: "desktop"
},
windowsStoreConfig: {
packageName: "com.schoolsyst.desktop",
name: "schoolsyst-desktop"
},
publishers: [
{
name: '@electron-forge/publisher-github',
platforms: ['win32', 'linux'],
config: {
owner: 'schoolsyst',
name: 'desktop'
}
}
]
}