-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
72 lines (65 loc) · 1.96 KB
/
Copy pathelectron-builder.yml
File metadata and controls
72 lines (65 loc) · 1.96 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
appId: dev.nativeblade.studio
productName: NativeBlade Studio
directories:
output: release
buildResources: build
# electron-vite builds everything into out/; nothing else needs packaging
# (php/node/git are the user's own, launched from PATH at runtime).
# Whisper (transformers.js) is a devDependency bundled into out/ by vite, so
# its heavy native transitive modules never reach here — these excludes are a
# safety net in case a runner hoists them (onnxruntime-node's identical dylib
# across arches breaks the macOS universal build).
files:
- out/**/*
- package.json
- '!node_modules/onnxruntime-node/**'
- '!node_modules/sharp/**'
- '!node_modules/@img/**'
# Clean, predictable names: studio.exe / studio.dmg / studio.deb — matches the
# release workflow's upload globs and the S3 download URLs.
artifactName: studio.${ext}
win:
icon: build/icons/icon.ico
target:
- nsis
signtoolOptions:
sign: ./build/sign.cjs
signingHashAlgorithms:
- sha256
publish:
provider: generic
url: https://nativeblade-studio-releases.s3.us-east-1.amazonaws.com/windows
nsis:
oneClick: true
perMachine: false
allowToChangeInstallationDirectory: false
deleteAppDataOnUninstall: false
runAfterFinish: true
allowElevation: true
include: build/installer.nsh
mac:
icon: build/icons/icon.icns
category: public.app-category.developer-tools
target:
- target: dmg
arch: [universal]
- target: zip
arch: [universal]
hardenedRuntime: true
gatekeeperAssess: false
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.plist
notarize: true
publish:
provider: generic
url: https://nativeblade-studio-releases.s3.us-east-1.amazonaws.com/macos
linux:
icon: build/icons
category: Development
maintainer: NativeBlade <contact@nativeblade.dev>
target:
- deb
- rpm
publish:
provider: generic
url: https://nativeblade-studio-releases.s3.us-east-1.amazonaws.com/linux