farmcontrol-server/electrobun.config.ts
2026-07-28 22:03:06 +01:00

35 lines
785 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,
},
};