-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
124 lines (114 loc) · 2.76 KB
/
electron-builder.yml
File metadata and controls
124 lines (114 loc) · 2.76 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
appId: com.forgeMoi.app
productName: Forge MOI
copyright: Copyright © 2024 ${author}
directories:
output: dist
buildResources: build
# Auto-updater configuration
publish:
- provider: github
owner: moika # Replace with your GitHub username
repo: forge-moi # Replace with your repository name
releaseType: release
# File patterns
files:
- electron/**/*
- out/**/*
- node_modules/**/*
- package.json
- "!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}"
- "!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}"
- "!**/node_modules/*.d.ts"
- "!**/node_modules/.bin"
- "!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}"
extraResources:
- from: public/
to: public/
filter:
- "**/*"
# macOS configuration
mac:
category: public.app-category.developer-tools
hardenedRuntime: true
gatekeeperAssess: false
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.inherit.plist
icon: build/icon.icns
notarize:
teamId: ${env.APPLE_TEAM_ID}
target:
- target: dmg
arch:
- x64
- arm64
- target: zip
arch:
- x64
- arm64
# Windows configuration
win:
target:
- target: nsis
arch:
- x64
- ia32
- target: zip
icon: build/icon.ico
certificateFile: ${env.WINDOWS_CERT}
certificatePassword: ${env.WINDOWS_CERT_PASSWORD}
verifyUpdateCodeSignature: true
publisherName: "Forge MOI"
# Linux configuration
linux:
target:
- target: AppImage
arch:
- x64
- arm64
- target: deb
arch:
- x64
- arm64
- target: snap
icon: build/icon.png
category: Development
synopsis: "AI-powered development studio"
description: "Multi-modal AI-powered development studio with integrated browser, terminal, and code editor"
maintainer: "Forge MOI Team"
vendor: "Forge MOI"
# NSIS installer configuration (Windows)
nsis:
oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true
allowElevation: true
installerIcon: build/icon.ico
uninstallerIcon: build/icon.ico
installerHeader: build/installerHeader.bmp
installerSidebar: build/installerSidebar.bmp
include: build/installer.nsh
artifactName: ${name}-Setup-${version}.${ext}
# DMG configuration (macOS)
dmg:
background: build/background.tiff
icon: build/icon.icns
iconSize: 100
window:
width: 540
height: 380
contents:
- x: 410
y: 150
type: link
path: /Applications
- x: 130
y: 150
type: file
artifactName: ${name}-${version}-${arch}.${ext}
# AppImage configuration (Linux)
appImage:
artifactName: ${name}-${version}-${arch}.${ext}
# Snap configuration (Linux)
snap:
grade: stable
confinement: classic