-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
90 lines (81 loc) · 2.53 KB
/
Copy pathelectron-builder.yml
File metadata and controls
90 lines (81 loc) · 2.53 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
appId: com.luminanote.app
productName: Lumina Note
# Targets: mac arm64+x64 (dmg+zip), win x64 (nsis), linux AppImage.
# Publishing goes through GitHub Releases; electron-updater reads the
# `latest.yml` / `latest-mac.yml` artifacts this produces.
publish:
provider: github
owner: blueberrycongee
repo: Lumina-Note
releaseType: release
directories:
buildResources: build-resources
output: release
files:
- out/**/*
- package.json
extraResources:
- from: resources/plugins
to: plugins
filter: ['**/*']
- from: resources/skills
to: skills
filter: ['**/*']
- from: resources/agent
to: agent
filter: ['**/*']
- from: scripts/codex-vscode-host
to: codex-vscode-host
filter: ['host.mjs']
# Per-platform extraResources for opencode's native node-pty addon.
# `release-staging/native/` is populated by `npm run stage:native` (see
# scripts/stage_native_modules.mjs) before electron-builder runs — that
# script is the only thing that reads from the dev-only `thirdparty/`
# tree. Production build config stays dev-tooling-agnostic. The vendor
# at `electron/main/vendor/opencode-node-pty.ts` resolves these via
# `process.resourcesPath` in packaged builds.
mac:
category: public.app-category.productivity
artifactName: Lumina-Note-${version}-${arch}.${ext}
target:
- target: dmg
arch: [arm64, x64]
- target: zip
arch: [arm64, x64]
icon: build-resources/icon.icns
# No Apple Developer ID certificate is available in CI. Use ad-hoc signing
# so macOS bundles still have a local code signature, while the custom
# updater avoids Squirrel.Mac's Developer ID signature requirement.
identity: "-"
hardenedRuntime: false
gatekeeperAssess: false
extraResources:
- from: release-staging/native/node-pty-darwin-${arch}
to: opencode-node-pty/node-pty-darwin-${arch}
filter: ['**/*']
win:
artifactName: Lumina-Note-Setup-${version}.${ext}
target:
- target: nsis
arch: [x64]
icon: build-resources/icon.ico
extraResources:
- from: release-staging/native/node-pty-win32-x64
to: opencode-node-pty/node-pty-win32-x64
filter: ['**/*']
nsis:
oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true
deleteAppDataOnUninstall: false
linux:
artifactName: Lumina-Note-${version}.${ext}
target:
- target: AppImage
arch: [x64]
icon: build-resources/icon.png
category: Office
extraResources:
- from: release-staging/native/node-pty-linux-x64
to: opencode-node-pty/node-pty-linux-x64
filter: ['**/*']