-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
95 lines (85 loc) · 2.51 KB
/
Copy pathelectron-builder.yml
File metadata and controls
95 lines (85 loc) · 2.51 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
appId: org.opensourcebharat.lekhini
productName: Lekhini
copyright: Copyright © 2026 Open Source Bharat — https://opensourcebharat.org
asar: true
# Auto-update feed + release target. electron-builder bakes this into
# app-update.yml inside the build and, when run with --publish, uploads
# the installers plus the latest*.yml manifests to GitHub Releases.
# electron-updater reads the same feed at runtime to discover updates.
publish:
provider: github
owner: opensourcebharat
repo: lekhini
# Upload to a DRAFT release; the release workflow flips it public only
# after every OS finishes, so users never see a half-uploaded release.
releaseType: draft
# Single source-of-truth for the app icon. electron-builder auto-
# generates the platform-specific .icns (macOS) and .ico (Windows)
# from this PNG. Recommended: 1024×1024, transparent background.
icon: build/icon.png
directories:
output: release
buildResources: build
files:
- dist
- dist-electron
- package.json
# Bundled per-profile RAG seed examples ("intent files"), read at
# runtime from process.resourcesPath/intent.
extraResources:
- from: resources/intent
to: intent
mac:
category: public.app-category.productivity
target:
- target: dmg
arch:
- arm64
- x64
# zip is what Squirrel.Mac consumes for auto-update; ship it
# alongside the dmg so updates work once the build is signed +
# notarized. (Unsigned builds still produce it; macOS just won't
# auto-apply until signing is configured.)
- target: zip
arch:
- arm64
- x64
hardenedRuntime: true
gatekeeperAssess: false
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.plist
extendInfo:
NSScreenCaptureUsageDescription: Lekhini captures the screen only when you save an annotated screenshot.
NSAccessibilityUsageDescription: Lekhini uses Accessibility to register global hotkeys (e.g., toggle draw mode) while other apps are focused.
dmg:
sign: false
contents:
- x: 130
y: 220
- x: 410
y: 220
type: link
path: /Applications
win:
target:
- target: nsis
arch:
- x64
- arm64
signingHashAlgorithms:
- sha256
publisherName: Open Source Bharat
nsis:
oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true
createDesktopShortcut: true
createStartMenuShortcut: true
shortcutName: Lekhini
linux:
category: Graphics
target:
- target: AppImage
arch:
- x64
- arm64