build: generate desktop application release artifacts and update project configuration

This commit is contained in:
Firman Ramdhani
2026-04-05 22:33:08 +07:00
parent 9b7e027024
commit a13feb1c51
20 changed files with 3183 additions and 31 deletions
+66
View File
@@ -0,0 +1,66 @@
appId: com.eigen.desktop
productName: EigenDesktop
copyright: Copyright © 2026 Eigen
directories:
buildResources: build
output: release
# Include compiled electron-vite output + embedded web app build
files:
- out/**/*
- web-dist/**/*
# Copy web-dist into the app's resources folder at runtime
extraResources:
- from: web-dist
to: web-dist
filter:
- "**/*"
# --- Auto-Update Provider (GitHub Releases) ---
# Switch to { provider: s3, bucket: ..., region: ... } for private S3
publish:
provider: github
owner: YOUR_GITHUB_ORG
repo: YOUR_REPO_NAME
# --- Windows ---
win:
target:
- target: nsis
arch:
- x64
- arm64
icon: build/icon.ico
nsis:
oneClick: false
allowToChangeInstallationDirectory: true
differentialPackage: true
# --- macOS ---
mac:
target:
- target: dmg
arch:
- x64
- arm64
- target: zip
arch:
- x64
- arm64
icon: build/icon.icns
hardenedRuntime: true
gatekeeperAssess: false
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.plist
# --- Linux ---
linux:
target:
- target: AppImage
arch:
- x64
icon: build/icons
category: Office