From 9c69a45ba488cfb29148026273e4540382c92ad5 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 21 Jun 2026 03:42:59 +0100 Subject: [PATCH] Added MSI support. --- Jenkinsfile | 2 +- package.json | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 543023e..1719b49 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 } } } diff --git a/package.json b/package.json index 158b0e9..1a13c86 100644 --- a/package.json +++ b/package.json @@ -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"