This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
forge.config.js
79 lines (78 loc) · 1.68 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
const config = require('./package.json')
module.exports = {
packagerConfig: {
name: config.fullname,
executableName: config.name,
appBundleId: 'fr.paxo.paxoide',
asar: true,
icon: './public/logo',
protocols: [
{
name: 'Paxo IDE Launch Protocol',
schemes: ['paxo-ide'],
},
],
win32metadata: {
CompanyName: 'Paxo project Community',
OriginalFilename: 'Paxo IDE',
},
},
rebuildConfig: {},
makers: [
{
name: '@electron-forge/maker-squirrel',
config: (arch) => ({
name: config.name,
authors: config.author,
description: config.description,
exe: 'paxo-ide.exe',
setupExe: `PaxoIDE Setup.exe`,
setupIcon: './public/logo.ico',
noMsi: true,
})
},
{
name: '@electron-forge/maker-deb',
config: {
options: {
maintainer: config.maintainers,
homepage: config.repository.url,
name: config.name,
icon: './public/logo.ico',
categories: ['Development', 'Utility'],
}
}
},
{
name: '@electron-forge/maker-zip',
platforms: ['darwin', 'linux'],
config: {}
},
{
name: '@electron-forge/maker-dmg',
config: {
name: config.name,
icon: './public/logo.icns'
}
}
],
plugins: [
{
name: '@electron-forge/plugin-auto-unpack-natives',
config: {},
},
],
publishers: [
{
name: '@electron-forge/publisher-github',
config: {
repository: {
owner: 'paxo-phone',
name: 'paxo-ide'
},
prerelease: false,
draft: true
}
}
]
}