-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelectron-builder.yaml
52 lines (52 loc) · 1.17 KB
/
electron-builder.yaml
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
appId: "io.github.Harukite.electron-next"
productName: "Electron Next.JS"
copyright: "Copyright (c) 2023 Harukite"
directories:
output: dist
buildResources: resources
files:
- "out/**/*"
- "main/**/*"
- "package.json"
- "!**/*.map"
- "!**/*.md"
asar: true
compression: maximum
win:
target:
- "nsis"
- "portable"
icon: "icon/icon.ico"
artifactName: "${productName}-${version}.${ext}"
linux:
target:
- "AppImage"
- "deb"
- "rpm"
icon: "icon"
artifactName: "${productName}-${version}.${ext}"
category: "Utility"
mac:
target:
- "dmg"
- "zip"
icon: "icon/icon.icns"
artifactName: "${productName}-${version}.${ext}"
sign: false
nsis:
oneClick: false
allowToChangeInstallationDirectory: true
createDesktopShortcut: true
createStartMenuShortcut: true
shortcutName: "Electron Next.JS"
uninstallDisplayName: "Uninstall Electron Next.JS"
artifactName: "${productName}-Setup-${version}.${ext}"
extraResources:
- from: "node_modules/electron/dist/locales"
to: "locales"
filter:
- "en-US.pak"
- "zh-CN.pak"
afterPack: "./scripts/afterPack.js"
electronDownload:
mirror: https://npmmirror.com/mirrors/electron/