-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
127 lines (114 loc) · 3.45 KB
/
electron-builder.yml
File metadata and controls
127 lines (114 loc) · 3.45 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
appId: com.paperclipai.app
productName: Paperclip Desktop
copyright: Copyright © 2026 Aron Prins
directories:
output: release
buildResources: build
files:
- dist/**/*
- package.json
# Auto-update via GitHub Releases
publish:
provider: github
owner: aronprins
repo: paperclip-desktop
releaseType: release
# Bundle the built server + UI alongside the app.
# node_modules comes from build/server-bundle (npm install --production output).
# dist/ and package.json come from the published @paperclipai/server npm package.
extraResources:
- from: build/server-bundle/${os}-${arch}/server/dist
to: app-server/server/dist
filter:
- "**/*"
- from: build/server-bundle/${os}-${arch}/server/ui-dist
to: app-server/server/ui-dist
filter:
- "**/*"
- from: build/server-bundle/${os}-${arch}/server/node_modules
to: app-server/server/node_modules
filter:
- "**/*"
- from: build/server-bundle/${os}-${arch}/server/node_modules/@aws-sdk
to: app-server/server/node_modules/@aws-sdk
filter:
- "**/*"
- from: build/server-bundle/${os}-${arch}/server/node_modules/@aws-crypto
to: app-server/server/node_modules/@aws-crypto
filter:
- "**/*"
- from: build/server-bundle/${os}-${arch}/server/node_modules/@aws
to: app-server/server/node_modules/@aws
filter:
- "**/*"
- from: build/server-bundle/${os}-${arch}/server/package.json
to: app-server/server/package.json
# Bundled Node.js binary (arch-specific, selected at build time)
- from: "build/node-bin/${os}-${arch}"
to: app-server/node-bin
filter:
- "**/*"
# ─── macOS ───────────────────────────────────────────────────────────────────
afterPack: scripts/after-pack.mjs
afterSign: scripts/after-sign.mjs
mac:
category: public.app-category.developer-tools
icon: build/icon.png
target:
- target: dmg
arch:
- x64
- arm64
- target: zip
arch:
- x64
- arm64
hardenedRuntime: true
gatekeeperAssess: false
notarize: false
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.inherit.plist
signIgnore:
- "/Contents/Resources/app-server/.*"
- "\\.pak$"
- "\\.bin$"
- "\\.dat$"
dmg:
contents:
- x: 130
y: 220
- x: 410
y: 220
type: link
path: /Applications
# ─── Windows ─────────────────────────────────────────────────────────────────
win:
icon: build/icon.ico
target:
- target: nsis
arch:
- x64
- target: portable
arch:
- x64
nsis:
oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true
deleteAppDataOnUninstall: false
installerIcon: build/icon.ico
uninstallerIcon: build/icon.ico
# ─── Linux ───────────────────────────────────────────────────────────────────
linux:
icon: build/icon.png
category: Development
maintainer: Aron Prins
executableName: paperclip
artifactName: "Paperclip-${version}-${arch}.${ext}"
target:
- target: AppImage
arch:
- x64
- target: deb
arch:
- x64