Repository navigation
Expand file tree
/
Copy pathforge.config.js
More file actions
70 lines (69 loc) · 1.7 KB
/
Copy pathforge.config.js
File metadata and controls
70 lines (69 loc) · 1.7 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
67
68
69
70
// 暂时移除 Fuses 插件以解决冲突
// import { FusesPlugin } from '@electron-forge/plugin-fuses';
// import { FuseV1Options, FuseVersion } from '@electron/fuses';
export default {
packagerConfig: {
asar: true,
executableName: 'AVGMaker',
appBundleId: 'com.avgmaker.app',
appCategoryType: 'public.app-category.entertainment',
win32metadata: {
CompanyName: 'AVG Maker Team',
ProductName: 'AVG Maker'
},
// 暂时移除ignore配置来调试
// ignore: [],
// 仅保留中文和英文语言包
locales: ['zh-CN', 'en-US']
},
rebuildConfig: {},
makers: [
{
name: '@electron-forge/maker-squirrel',
config: {
name: 'AVGMaker',
authors: 'AVG Maker Team',
description: 'AI-era interactive fiction game engine - the Cursor for AVG games',
setupExe: 'AVGMaker-Setup.exe'
},
platforms: ['win32']
},
{
name: '@electron-forge/maker-zip',
platforms: ['win32', 'darwin', 'linux']
},
{
name: '@electron-forge/maker-deb',
config: {
options: {
maintainer: 'AVG Maker Team',
homepage: 'https://github.com/MixLabPro/avg-maker'
}
},
platforms: ['linux']
},
{
name: '@electron-forge/maker-rpm',
config: {
options: {
maintainer: 'AVG Maker Team',
homepage: 'https://github.com/MixLabPro/avg-maker'
}
},
platforms: ['linux']
},
{
name: '@electron-forge/maker-dmg',
config: {
name: 'AVGMaker'
},
platforms: ['darwin']
}
],
plugins: [
{
name: '@electron-forge/plugin-auto-unpack-natives',
config: {}
}
],
};