Files
fullstack-starter/apps/desktop/electron-builder.yml
imbytecat e171db8196 refactor: simplify compile.ts to single-target and add per-platform compile scripts
- Rewrite compile.ts from 112 to 66 lines: single target with auto-detect host, remove multi-target batch logic
- Add compile:linux/mac/win scripts to server, root, and turbo configs
- Wire desktop dist:* to depend on matching server compile:* (avoid unnecessary cross-platform compilation)
- Update AGENTS.md docs across root, server, and desktop
2026-02-08 22:25:30 +08:00

43 lines
1.2 KiB
YAML

# yaml-language-server: $schema=https://raw.githubusercontent.com/electron-userland/electron-builder/refs/heads/master/packages/app-builder-lib/scheme.json
appId: com.furtherverse.app
productName: Furtherverse
directories:
buildResources: build
files:
- "!**/.vscode/*"
- "!src/*"
- "!electron.vite.config.{js,ts,mjs,cjs}"
- "!{.env,.env.*,bun.lock}"
- "!{tsconfig.json,tsconfig.node.json}"
- "!{AGENTS.md,README.md,CHANGELOG.md}"
asarUnpack:
- resources/**
win:
executableName: Furtherverse
extraResources:
- from: ../server/out/server-windows-x64.exe
to: server.exe
nsis:
artifactName: ${productName}-${version}-setup.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
mac:
category: public.app-category.productivity
extraResources:
- from: ../server/out/server-darwin-arm64
to: server
dmg:
artifactName: ${productName}-${version}.${ext}
linux:
target:
- AppImage
maintainer: furtherverse.com
category: Utility
extraResources:
- from: ../server/out/server-linux-x64
to: server
appImage:
artifactName: ${productName}-${version}.${ext}
npmRebuild: false