farmcontrol-server/electrobun.config.ts
Tom Butcher b4755174d9
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
Update postPackage script path in Electrobun configuration for consistency
2026-07-28 22:40:03 +01:00

38 lines
862 B
TypeScript

// Electrobun requires this filename; application code remains JavaScript.
export default {
app: {
name: "Farm Control Server",
identifier: "com.tombutcher.farmcontrolserver",
version: "1.0.0",
description: "Farm Control Server desktop host application",
},
build: {
buildFolder: "build",
artifactFolder: "app_dist",
bun: {
entrypoint: "src/bun/index.js",
},
copy: {
"dist/app/index.html": "views/mainview/index.html",
"dist/app/assets": "views/mainview/assets",
"config.json": "config.json",
},
watchIgnore: ["dist/**"],
mac: {
bundleCEF: false,
},
linux: {
bundleCEF: false,
},
win: {
bundleCEF: false,
},
},
runtime: {
exitOnLastWindowClosed: false,
},
scripts: {
postPackage: "scripts/finalize-desktop-artifacts.mjs",
},
};