-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
93 lines (84 loc) · 2.08 KB
/
electron-builder.yml
File metadata and controls
93 lines (84 loc) · 2.08 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
appId: com.xscribe.app
productName: XScribe
directories:
buildResources: build
output: release
files:
- out/**/*
- "!out/**/*.map"
- "!node_modules/**/*"
- node_modules/@electron-toolkit/**/*
- node_modules/better-sqlite3/**/*
- node_modules/bindings/**/*
- node_modules/file-uri-to-path/**/*
- node_modules/ffmpeg-static/**/*
- node_modules/uuid/**/*
asarUnpack:
- resources/**
- node_modules/better-sqlite3/**/*.node
- node_modules/better-sqlite3/build/**/*
- node_modules/ffmpeg-static/ffmpeg
- node_modules/ffmpeg-static/ffmpeg.exe
extraResources:
# Bundled Python venv (pre-built in CI with all dependencies)
# This is extracted from python-venv-{platform}.tar.gz during release build
- from: python-bundled/
to: python/
filter:
- "**/*"
- "!**/__pycache__/**"
- "!**/tests/**"
- "!**/test/**"
- "!**/*.pyc"
- "!**/*.pyi"
# NO models bundled - user downloads on first use:
# - Whisper models: tiny.en (38MB) to large-v3-turbo (1.6GB)
# - Diarization models: sherpa-onnx (~50MB)
mac:
# ARM64 only - Intel Macs can run via Rosetta 2
# PyTorch 2.8+ is not available for x86_64 macOS
target:
- target: dmg
arch:
- arm64
- target: zip
arch:
- arm64
category: public.app-category.productivity
hardenedRuntime: true
gatekeeperAssess: false
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.plist
notarize: false
win:
target:
- target: nsis
arch:
- x64
- target: portable
arch:
- x64
artifactName: ${name}-${version}-${arch}.${ext}
nsis:
oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true
deleteAppDataOnUninstall: false
linux:
# x64 only for now - arm64 can be added when we build linux-arm64 venv
target:
- target: AppImage
arch:
- x64
- target: deb
arch:
- x64
category: AudioVideo
maintainer: xscribe
npmRebuild: true
nodeGypRebuild: false
publish:
provider: github
owner: hierophantos
repo: XScribe
releaseType: release