-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathforge.config.js
More file actions
58 lines (50 loc) · 1.54 KB
/
forge.config.js
File metadata and controls
58 lines (50 loc) · 1.54 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
module.exports = {
packagerConfig: {
icon: './media/overtone-logo',
ignore: (path) =>
{
if (path.includes('node_modules'))
{
if (path.includes('/.')) return true;
return false;
}
if (path.includes('.git')) return true;
if (path.includes('.github')) return true;
if (path.includes('electron/appdata/'))
{
if (path.includes('eqs.json')) return false;
return true;
}
if (path.includes('guides')) return true;
if (path.includes('media/'))
{
if (path.includes('overtone-')) return false;
return true;
}
if (path.includes('out')) return true;
if (path.includes('react/'))
{
if (path.includes('dist')) return false;
return true;
}
if (path.includes('.gitignore')) return true;
if (path.includes('forge.config.js')) return true;
if (path.includes('package-lock.json')) return true;
return false;
}
},
makers: [
// {
// name: '@electron-forge/maker-dmg',
// platforms: ['darwin'],
// },
// {
// name: '@electron-forge/maker-deb',
// platforms: ['linux'],
// },
{
name: '@electron-forge/maker-zip',
platforms: ['darwin', 'linux', 'win32'],
}
]
}