diff --git a/package.json b/package.json index bf61a22..30c17c7 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,6 @@ "build": { "appId": "com.liamcottle.reticulumwebchat", "productName": "Reticulum WebChat", - "artifactName": "ReticulumWebChat-v${version}.${ext}", "asar": false, "files": [ "electron/**/*" @@ -36,13 +35,30 @@ ], "mac": { "target": "dmg", - "identity": null + "identity": null, + "artifactName": "ReticulumWebChat-v${version}-${os}.${ext}" }, "win": { - "target": "portable" + "artifactName": "ReticulumWebChat-v${version}-${os}.${ext}", + "target": [ + { + "target": "portable" + }, + { + "target": "nsis" + } + ] }, "dmg": { "writeUpdateInfo": false + }, + "portable": { + "artifactName": "ReticulumWebChat-v${version}-${os}-portable.${ext}" + }, + "nsis": { + "artifactName": "ReticulumWebChat-v${version}-${os}-installer.${ext}", + "oneClick": false, + "allowToChangeInstallationDirectory": true } } }