-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
76 lines (67 loc) · 1.62 KB
/
electron-builder.yml
File metadata and controls
76 lines (67 loc) · 1.62 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
appId: com.inosx.aiteam-x
productName: AITEAM-X
copyright: "Copyright © 2024 INOSX"
directories:
output: dist-electron
buildResources: electron/assets
# Arquivos empacotados no app.asar (apenas código do processo Electron)
files:
- electron/dist/**
- "!electron/src"
- package.json
# Next.js standalone vai para resources/ diretamente (fora do asar).
# Necessário porque .next está no .gitignore e o electron-builder o excluiria
# se fosse listado em "files". extraResources bypassa essa restrição.
extraResources:
- from: .next/standalone
to: .next/standalone
filter:
- "**/*"
# Pacote de agentes bundled no instalador — acessível via process.resourcesPath
- from: aiteam-x-agents
to: aiteam-x-agents
filter:
- "**/*"
# Windows — electron-builder converte icon.png → ICO automaticamente
win:
target:
- target: nsis
arch:
- x64
icon: electron/assets/icon.png
nsis:
oneClick: true
perMachine: true
allowElevation: true
createDesktopShortcut: true
createStartMenuShortcut: true
# macOS
mac:
target:
- target: dmg
arch:
- x64
- arm64
icon: electron/assets/icon.png
hardenedRuntime: true
gatekeeperAssess: false
entitlements: electron/assets/entitlements.mac.plist
entitlementsInherit: electron/assets/entitlements.mac.plist
dmg:
sign: false
# Linux
linux:
target:
- target: AppImage
arch:
- x64
- target: deb
arch:
- x64
icon: electron/assets/icon.png
category: Development
# Publicação via GitHub Releases (auto-updater)
publish:
provider: github
owner: INOSX
repo: AITeam