-
Notifications
You must be signed in to change notification settings - Fork 255
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
77 lines (77 loc) · 2.01 KB
/
electron-builder.yml
File metadata and controls
77 lines (77 loc) · 2.01 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
68
69
70
71
72
73
74
75
76
77
appId: com.example.smartsub
productName: SmartSub
copyright: Copyright © 2024 buxuku
directories:
output: dist
buildResources: resources
files:
- from: .
filter:
- package.json
- app
publish:
- provider: github
generateUpdatesFilesForAllChannels: true
electronUpdaterCompatibility: '>=2.16'
mac:
target:
- zip
- dmg
artifactName: '${productName}_Mac_${version}_${arch}.${ext}'
publish:
- provider: github
channel: latest
extraResources:
- from: ./extraResources/addons/
to: ./extraResources/addons/
filter:
- '**/*'
- from: ./extraResources/ggml-silero-v6.2.0.bin
to: ./extraResources/ggml-silero-v6.2.0.bin
win:
target:
- nsis
extraResources:
- from: ./extraResources/addons/
to: ./extraResources/addons/
filter:
- '**/*'
- from: ./extraResources/ggml-silero-v6.2.0.bin
to: ./extraResources/ggml-silero-v6.2.0.bin
requestedExecutionLevel: asInvoker
artifactName: '${productName}_Windows_${version}_${arch}.${ext}'
publish:
- provider: github
channel: latest
linux:
target:
- AppImage
# - tar.gz
- deb
category: AudioVideo
artifactName: '${productName}_Linux_${version}_${arch}.${ext}'
publish:
- provider: github
channel: latest
extraResources:
- from: ./extraResources/addons/
to: ./extraResources/addons/
filter:
- '**/*'
- from: ./extraResources/ggml-silero-v6.2.0.bin
to: ./extraResources/ggml-silero-v6.2.0.bin
nsis:
oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true
deleteAppDataOnUninstall: true
differentialPackage: false
asarUnpack:
- 'node_modules/ffmpeg-static/bin/${os}/${arch}/ffmpeg'
- 'node_modules/ffmpeg-static/index.js'
- 'node_modules/ffmpeg-static/package.json'
- 'node_modules/ffmpeg-static/ffmpeg'
- 'node_modules/ffmpeg-static/ffmpeg.exe'
- 'node_modules/ffmpeg-static/ffmpeg.macos'
- 'node_modules/ffmpeg-static/ffmpeg.linux'
- 'node_modules/ffmpeg-static/ffmpeg.win32'