forked from Zettlr/Zettlr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
forge.config.js
40 lines (40 loc) · 1.11 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
module.exports = {
'packagerConfig': {
'asar': true,
'icon': './resources/icons/icon', // Automatically adds file extension based on OS
'name': 'Zettlr'
},
'plugins': [
[
'@electron-forge/plugin-webpack',
{
'mainConfig': './webpack.main.config.js',
'renderer': {
'config': './webpack.renderer.config.js',
'entryPoints': [
{
'html': './source/renderer/assets/index.htm',
'js': './source/renderer/renderer.ts',
'name': 'main_window'
},
{
'html': './source/print/index.htm',
'js': './source/print/zettlr-print-window.js',
'name': 'print'
},
{
'html': './source/log-viewer/index.htm',
'js': './source/log-viewer/index.js',
'name': 'log_viewer'
},
{
'html': './source/quicklook/index.htm',
'js': './source/quicklook/zettlr-quicklook-window.js',
'name': 'quicklook'
}
]
}
}
]
]
}