-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforge.config.js
44 lines (41 loc) · 1.08 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
const { utils: { fromBuildIdentifier } } = require('@electron-forge/core');
const {preMake} = require('./preMake.js');
const packageJson = require("./package.json");
const signingKeyAuthority = "armori - engelshell/armori"
// forge.config.js
module.exports = {
buildIdentifier: 'beta',
hooks: {
preMake: preMake
},
packagerConfig: {
name: "armori",
appBundleId: fromBuildIdentifier({ beta: 'com.armori.app', prod: 'armori.app' }),
//steam expects nwjs executable
executableName: "nwjs",
appCopyright: "MIT-0 MIT No Attribution",
icon: "./icon.icns",
electronVersion: '26.0.0',
junk:true,
overwrite:true,
prune:true,
appCategoryType: "public.app-category.games",
platform:['darwin'],
arch:['arm64']
},
makers: [
{
name: '@electron-forge/maker-dmg',
platforms: [ "darwin" ],
arch: [ 'arm64' ],
config: {
//could also symlink
title: "armori",
icon: "./icon.icns",
//background: './assets/dmg-background.png',
format: 'ULFO',
overwrite:true
}
}
]
};