diff --git a/Jenkinsfile b/Jenkinsfile index 9b9251a..48e8f7e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -78,7 +78,7 @@ def buildOnLabel(label, buildCommand) { } stage("Archive Artifacts (${label})") { - archiveArtifacts artifacts: 'app_dist/**/*.dmg, app_dist/**/*.exe', fingerprint: true + archiveArtifacts artifacts: 'app_dist/**/*.dmg, app_dist/**/*.exe, app_dist/**/*.pkg', fingerprint: true } } } diff --git a/package.json b/package.json index 5d271ed..45c032f 100644 --- a/package.json +++ b/package.json @@ -148,11 +148,23 @@ "arm64" ] }, + { + "target": "pkg", + "arch": [ + "arm64" + ] + }, { "target": "dmg", "arch": [ "x64" ] + }, + { + "target": "pkg", + "arch": [ + "x64" + ] } ], "mergeASARs": true, @@ -189,6 +201,12 @@ } ] }, + "pkg": { + "installLocation": "/Applications", + "mustClose": [ + "com.tombutcher.farmcontrol" + ] + }, "win": { "target": "nsis" },