-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
85 lines (75 loc) · 2.63 KB
/
Copy pathelectron-builder.yml
File metadata and controls
85 lines (75 loc) · 2.63 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
# electron-builder configuration
# https://www.electron.build/configuration/configuration
appId: com.infinitemonitor.desktop
productName: Infinite Monitor
copyright: Copyright © 2025 Infinite Monitor
directories:
output: dist
buildResources: assets
# Files included in the app package (Electron shell only – no web-build here,
# that goes in extraResources so it lands at process.resourcesPath)
files:
- electron/**/*
- package.json
- "!node_modules/**/*" # handled separately by electron-builder
- "!web-build/**/*" # goes into extraResources, not the asar
- "!scripts/**/*"
- "!dist/**/*"
# The bundled Next.js standalone server is placed at:
# <app>/Contents/Resources/web-server/ (macOS)
# <app>/resources/web-server/ (Windows/Linux)
# Accessible in the main process as:
# path.join(process.resourcesPath, 'web-server')
extraResources:
- from: web-build
to: web-server
filter:
- "**/*"
- from: node-bin
to: node-bin
filter:
- "**/*"
# Compression: balances install size vs packaging speed
compression: maximum
# ── macOS ─────────────────────────────────────────────────────────────────────
mac:
category: public.app-category.productivity
icon: assets/icon.png
hardenedRuntime: true
gatekeeperAssess: false
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.inherit.plist
# Require notarisation for distribution; remove for local builds
# notarize: true
target:
- target: zip
arch:
- x64
- arm64
# ── Windows ───────────────────────────────────────────────────────────────────
win:
icon: assets/icon.png
target:
- target: nsis
arch:
- x64
nsis:
oneClick: false
allowToChangeInstallationDirectory: true
createDesktopShortcut: true
# ── Linux ─────────────────────────────────────────────────────────────────────
linux:
icon: assets/icon.png
category: Utility
target:
- target: AppImage
arch:
- x64
- target: deb
arch:
- x64
# ── Auto-update (configure when you have a release server) ───────────────────
# publish:
# provider: github
# owner: mehdiraized
# repo: infinite-monitor-desktop