-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
92 lines (86 loc) · 2.23 KB
/
electron-builder.yml
File metadata and controls
92 lines (86 loc) · 2.23 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
appId: com.omnicode.app
productName: Omni Code
copyright: Copyright 2025
directories:
output: dist-electron
buildResources: build
files:
- dist-electron/electron.cjs
- dist-electron/electron.cjs.map
- dist-electron/main/**/*
- dist-electron/renderer/**/*
- package.json
extraResources:
- from: dist/
to: core
filter:
- "**/*.js"
- "**/*.js.map"
mac:
category: public.app-category.developer-tools
target:
- target: dmg
arch: [x64, arm64]
- target: zip
arch: [x64, arm64]
icon: build/icon.icns
# Enable hardened runtime with entitlements for shell execution
hardenedRuntime: true
gatekeeperAssess: false
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.plist
# Notarization (requires Apple Developer account)
# Sign with: export CSC_NAME="Developer ID Application: Your Name"
dmg:
contents:
- x: 130
y: 220
- x: 410
y: 220
type: link
path: /Applications
win:
target:
- target: nsis
arch: [x64, arm64]
- target: portable
arch: [x64]
icon: build/icon.ico
requestedExecutionLevel: asInvoker
# Use application manifest for Windows compatibility
# manifest: build/app.manifest
# Code signing (optional but recommended to avoid SmartScreen)
# certificateFile: "path/to/certificate.p12"
# certificatePassword: "password" # Or use env var: WIN_CSC_KEY_PASSWORD
nsis:
oneClick: false
allowToChangeInstallationDirectory: true
createDesktopShortcut: true
createStartMenuShortcut: true
# Request admin rights for installation (optional)
# perMachine: true
linux:
target:
- target: AppImage
arch: [x64, arm64]
- target: deb
arch: [x64, arm64]
- target: rpm
arch: [x64, arm64]
icon: build/icon.png
category: Development
# Desktop entry for proper app integration
desktop:
Name: Omni Code
Comment: AI-powered code assistant
Categories: Development;IDE;
# For deb packages
maintainer: Omni Code Team
vendor: Omni Code
# For rpm packages
synopsis: AI-powered code assistant
description: Omni Code is an AI-powered code assistant with remote access capabilities
publish:
provider: github
owner: GraysonBannister
repo: omni-code