Repository navigation
Expand file tree
/
Copy pathelectron-builder.json5
More file actions
144 lines (143 loc) · 4.19 KB
/
Copy pathelectron-builder.json5
File metadata and controls
144 lines (143 loc) · 4.19 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
// @see - https://www.electron.build/configuration/configuration
{
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
"appId": "dev.recordly.app",
"electronUpdaterCompatibility": ">=2.16",
"asar": true,
"asarUnpack": [
"node_modules/ffmpeg-static/**",
"node_modules/ffprobe-static/**",
"node_modules/uiohook-napi/**",
"node_modules/sherpa-onnx-*/**",
"electron/native/bin/**"
],
"productName": "Recordly",
"protocols": [
{
"name": "Recordly authentication",
"schemes": ["recordly"]
}
],
"npmRebuild": true,
"buildDependenciesFromSource": true,
"compression": "normal",
"beforePack": "./scripts/prepare-distribution-notices.mjs",
"directories": {
"output": "release"
},
"files": [
"dist",
"!dist/wallpapers/**",
"dist-electron",
"electron/native/bin",
// Speech model weights belong in userData after an explicit model download.
"!**/ggml-*.bin",
"!**/*.onnx",
"!**/recordly-model.json",
"!node_modules/ffmpeg-static/ffmpeg.sources/**",
"!node_modules/ffmpeg-static/ffmpeg.exe.sources/**",
"!node_modules/ffmpeg-static/ffmpeg.ffprobe",
"!electron/native/bin/**/whisper-bench*",
"!electron/native/bin/**/whisper-quantize*",
"!electron/native/bin/**/whisper-server*",
"!electron/native/bin/**/whisper-vad-speech-segments*",
"!node_modules/ffprobe-static/bin/darwin/**",
"!node_modules/ffprobe-static/bin/linux/**",
"!node_modules/ffprobe-static/bin/win32/ia32/**",
"!electron/native/**/build/**",
"!*.png",
"!preview*.png",
"!*.md",
"!README.md",
"!CONTRIBUTING.md",
"!LICENSE"
],
"extraResources": [
{
"from": ".tmp/distribution-notices/${os}-${arch}",
"to": "licenses",
"filter": ["**/*"]
},
{
"from": "public/wallpapers",
"to": "assets/wallpapers"
}
],
"publish": [
{
"provider": "github",
"owner": "webadderallorg",
"repo": "Recordly",
"tagNamePrefix": "v",
"publishAutoUpdate": true
}
],
"mac": {
"hardenedRuntime": true,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.inherit.plist",
"target": [
{
"target": "dmg",
"arch": ["x64", "arm64"]
},
{
"target": "zip",
"arch": ["x64", "arm64"]
}
],
"icon": "icons/icons/mac/Recordly.icon",
"artifactName": "${productName}-${arch}.${ext}",
"extendInfo": {
"NSAudioCaptureUsageDescription": "Recordly needs audio capture permission to record system audio.",
"NSCameraUsageDescription": "Recordly needs camera access to record webcam video.",
"NSMicrophoneUsageDescription": "Recordly needs microphone access to record voice audio.",
"NSCameraUseContinuityCameraDeviceType": true,
"com.apple.security.device.audio-input": true,
"CFBundleDocumentTypes": [
{
"CFBundleTypeName": "Recordly Project",
"CFBundleTypeRole": "Editor",
"CFBundleTypeExtensions": ["recordly"],
"CFBundleTypeIconFile": "icon.icns",
"LSHandlerRank": "Owner",
"LSItemContentTypes": ["dev.recordly.app.project"]
}
],
"UTExportedTypeDeclarations": [
{
"UTTypeIdentifier": "dev.recordly.app.project",
"UTTypeDescription": "Recordly Project",
"UTTypeConformsTo": ["public.json"],
"UTTypeTagSpecification": {
"public.filename-extension": ["recordly"],
"public.mime-type": "application/x-recordly-project"
}
}
]
}
},
"linux": {
"target": [
"AppImage"
],
"icon": "icons/icons/png",
"artifactName": "${productName}-linux-x64.${ext}",
"category": "AudioVideo"
},
"win": {
"target": [
"nsis"
],
"icon": "icons/icons/win/icon.ico",
"executableName": "Recordly",
"artifactName": "${productName}-windows-${arch}.${ext}"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Recordly"
}
}