-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathelectron-builder.yml
45 lines (45 loc) · 1.01 KB
/
electron-builder.yml
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
appId: com.example.video-subtitle-master
productName: Video Subtitle Master
copyright: Copyright © 2024 buxuku
directories:
output: dist
buildResources: resources
files:
- from: .
filter:
- package.json
- app
publish: ['github']
mac:
target:
- zip
- dmg
artifactName: "${productName}_Mac_${version}_${arch}.${ext}"
win:
target:
- nsis
- portable
- zip
extraResources:
- from: ./extraResources/windows/
to: ./extraResources/
filter:
- "**/*"
requestedExecutionLevel: asInvoker
artifactName: "${productName}_Windows_${version}_${arch}.${ext}"
linux:
target:
- AppImage
- tar.gz
- deb
category: AudioVideo
artifactName: "${productName}_Linux_${version}_${arch}.${ext}"
nsis:
oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true
deleteAppDataOnUninstall: false
asarUnpack:
- "node_modules/ffmpeg-static/bin/${os}/${arch}/ffmpeg"
- "node_modules/ffmpeg-static/index.js"
- "node_modules/ffmpeg-static/package.json"