-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforge.config.cjs
More file actions
66 lines (65 loc) · 1.74 KB
/
forge.config.cjs
File metadata and controls
66 lines (65 loc) · 1.74 KB
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
// forge.config.cjs — Electron Forge config for BrainSpeedExercises (CommonJS)
const path = require('path');
module.exports = {
packagerConfig: {
appId: 'com.aaroncrosman.brainspeedexercises',
productName: 'Brain Speed Exercises',
executableName: 'brain-speed-exercises',
icon: path.resolve(__dirname, 'assets/icons/app'), // .icns/.ico/.png auto-appended
asar: false, // dynamic import() of game modules
ignore: [
/^\/\.github/, /^\/coverage/, /^\/__mocks__/,
/^\/scripts/, 'contributing.md', 'CODE_OF_CONDUCT.md',
'.eslint.config.js', 'jest.config.js', 'forge.config.cjs',
/\/tests\//, /.test.js$/, /assets\/icons\/source\.png$/,
],
},
rebuildConfig: {},
makers: [
{
name: '@electron-forge/maker-dmg',
platforms: ['darwin'],
arch: ['universal'],
config: {
format: 'ULMO',
},
},
{
name: '@electron-forge/maker-squirrel',
platforms: ['win32'],
config: {
name: 'BrainSpeedExercises',
},
},
{
name: '@electron-forge/maker-deb',
platforms: ['linux'],
config: {
maintainer: 'Aaron Crosman',
homepage: 'https://github.com/acrosman/BrainSpeedExercises',
categories: ['Game', 'Education'],
},
},
{
name: '@electron-forge/maker-rpm',
platforms: ['linux'],
config: {
homepage: 'https://github.com/acrosman/BrainSpeedExercises',
categories: ['Game', 'Education'],
},
},
],
publishers: [
{
name: '@electron-forge/publisher-github',
config: {
repository: {
owner: 'acrosman',
name: 'BrainSpeedExercises',
},
draft: true,
generateReleaseNotes: true,
},
},
],
};