Added MSI support.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good

This commit is contained in:
Tom Butcher 2026-06-21 03:42:59 +01:00
parent 7a90c63cb4
commit 9c69a45ba4
2 changed files with 14 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -78,7 +78,7 @@ def buildOnLabel(label, buildCommand) {
}
stage("Archive Artifacts (${label})") {
archiveArtifacts artifacts: 'app_dist/**/Farm Control*.dmg, app_dist/**/Farm Control*.exe, app_dist/**/Farm Control*.pkg', fingerprint: true
archiveArtifacts artifacts: 'app_dist/**/farmcontrol-*.dmg, app_dist/**/farmcontrol-*.exe, app_dist/**/farmcontrol-*.pkg, app_dist/**/farmcontrol-*.msi', fingerprint: true
}
}
}

View File

@ -133,6 +133,7 @@
"build": {
"appId": "com.tombutcher.farmcontrol",
"productName": "Farm Control",
"artifactName": "farmcontrol-${version}-${arch}.${ext}",
"icon": "assets/logos/farmcontrolicon.png",
"directories": {
"output": "app_dist"
@ -209,7 +210,18 @@
]
},
"win": {
"target": "nsis"
"target": [
"nsis",
"msi"
],
"protocols": [
{
"name": "Farm Control Protocol",
"schemes": [
"farmcontrol"
]
}
]
},
"linux": {
"target": "AppImage"