-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
62 lines (55 loc) · 1.91 KB
/
electron-builder.yml
File metadata and controls
62 lines (55 loc) · 1.91 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
appId: com.agentrelay.pear
productName: Pear by Agent Relay
copyright: Copyright © 2026 Agent Workforce Incorporated
extends: electron-builder.mcp-resources.yml
directories:
buildResources: build
output: dist
# Include only the bundled app, production deps, and runtime resources.
files:
- out/**
- resources/**
- package.json
- node_modules/**
- '!node_modules/.cache/**'
asarUnpack:
- resources/**
- bin/**
- node_modules/@agent-relay/sdk/bin/**
mac:
category: public.app-category.developer-tools
icon: build/icon.png
# Notarization-required hardening
hardenedRuntime: true
gatekeeperAssess: false
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.plist
# electron-builder notarizes via notarytool using the
# APPLE_API_KEY / APPLE_API_KEY_ID / APPLE_API_ISSUER env vars.
notarize: true
# Apple Silicon only. @agent-relay/sdk ships per-arch prebuilt broker
# binaries (broker-darwin-arm64 / -x64), so a universal build can't merge
# them on a single-arch CI runner. arm64 matches the runner and the broker
# binary that npm installs.
#
# dmg = the user-facing download; zip = the artifact electron-updater needs
# for in-app auto-update (its presence also generates latest-mac.yml).
target:
- target: dmg
arch: arm64
- target: zip
arch: arm64
dmg:
# Stable (un-versioned) filename so the public download link can rely on
# GitHub's `releases/latest/download/pear-arm64.dmg` URL. Literal `pear` prefix
# (not ${name}, which is `pear-by-agent-relay`) to match that contract exactly.
# The version is still recorded by the release tag; only the filename is fixed.
artifactName: pear-${arch}.${ext}
# No native modules — skip the rebuild step.
npmRebuild: false
publish:
provider: github
owner: AgentWorkforce
repo: pear
# Upload to a DRAFT release so you review & click "Publish" manually.
releaseType: draft