-
Notifications
You must be signed in to change notification settings - Fork 0
/
forge.config.js
32 lines (31 loc) · 962 Bytes
/
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
const packageJSON = require('./package.json');
module.exports = {
packagerConfig: {
icon: 'src/images/icon/icon',
osxSign: {},
},
rebuildConfig: {},
makers: [
...process.platform === 'win32' ? [{
name: '@electron-forge/maker-squirrel',
config: {
author: "UT LLC",
description: "UT Conversion Tool",
icon: 'src/images/icon/icon.ico',
setupIcon: 'src/images/icon/icon.ico',
certificateFile: 'src/UTcertSelfSign.pfx',
certificatePassword: process.env.CERTIFICATE_PASSWORD,
setupExe: `UT 자동 변환기-${packageJSON.version}.exe`,
setupMsi: `UT 자동 변환기-${packageJSON.version}.msi`,
}
}] : [],
...process.platform === 'darwin' ? [{
name: '@electron-forge/maker-dmg',
config: {
name: `UT 자동 변환기-${packageJSON.version}`,
format: 'ULFO',
icon: 'src/images/icon/icon.icns'
}
}] : [],
],
};