build: generate desktop application release artifacts and update project configuration
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user