-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathelectron-builder.json5
More file actions
67 lines (67 loc) · 1.45 KB
/
electron-builder.json5
File metadata and controls
67 lines (67 loc) · 1.45 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
// @see https://www.electron.build/configuration/configuration
{
$schema: 'https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json',
appId: 'aliceaiapp',
asar: true,
productName: 'Alice AI App',
directories: {
output: 'release/${version}',
},
publish: [
{
provider: 'github',
owner: 'pmbstyle',
repo: 'Alice',
releaseType: 'release',
},
],
files: ['dist', 'dist-electron'],
extraResources: [
{
from: './app-config.json',
to: 'app-config.json',
},
{
from: 'resources/backend',
to: 'backend',
filter: ['**/*'],
},
{
from: 'backend/lib',
to: 'backend/lib',
filter: ['**/*'],
},
{
from: 'backend/models',
to: 'backend/models',
filter: ['**/*'],
},
],
mac: {
target: ['dmg'],
icon: 'public/app_logo.png',
artifactName: 'Alice-AI-App-Mac-${version}-Installer.${ext}',
},
win: {
target: [
{
target: 'nsis',
arch: ['x64'],
},
],
artifactName: 'Alice-AI-App-Windows-${version}-Setup.${ext}',
},
nsis: {
oneClick: true,
perMachine: false,
allowToChangeInstallationDirectory: false,
deleteAppDataOnUninstall: false,
},
compression: 'store',
linux: {
target: ['AppImage'],
category: 'Utility',
icon: 'public/app_logo.png',
artifactName: 'Alice-AI-App-Linux-${version}.${ext}',
},
}