Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Introduced a new Windows Installer XML (WXS) file for packaging the Farm Control Server as an MSI. - Added a PowerShell script to build the MSI from the WXS file. - Implemented a new script to finalize desktop artifacts, handling the publication of macOS and Windows packages. - Updated the Linux build script to improve artifact naming and organization. - Enhanced the Electrobun configuration to include a post-package script for finalizing desktop artifacts.
38 lines
866 B
TypeScript
38 lines
866 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: "bun scripts/finalize-desktop-artifacts.mjs",
|
|
},
|
|
};
|