-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathelectron-builder.json
45 lines (45 loc) · 970 Bytes
/
electron-builder.json
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
{
"productName": "UniText",
"appId": "com.github.unitext",
"directories": {
"buildResources": "resources",
"output": "dist/release",
"app": "dist/build"
},
"electronDownload": {
"mirror": "https://npm.taobao.org/mirrors/electron/"
},
"extraResources": [
{
"from": "dist/build/node_modules",
"to": "app/node_modules"
}
],
"asar": false,
"nsis": {
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "UniText"
},
"dmg": {
"title": "${productName}"
},
"mac": {
"target": {
"arch": ["arm64", "x64"],
"target": "dmg"
},
"darkModeSupport": true
},
"win": {
"target": ["zip", "nsis"]
},
"linux": {
"category": "Office;TextEditor;Utility",
"mimeTypes": ["text/markdown"],
"target": ["deb", "rpm", "AppImage", "snap"]
}
}