From b33601e86a082a4c905d98663edc42f64a6ce10e Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sat, 29 May 2021 14:39:30 +0200 Subject: [PATCH] Added windows build script --- package.json | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 325f8d1..adb6e04 100644 --- a/package.json +++ b/package.json @@ -46,13 +46,33 @@ "category": "public.app-category.music" }, "win": { - "target": "portable" + "target": [ + { + "target": "nsis", + "arch": "x64" + }, + { + "target": "portable", + "arch": "x64" + } + ] }, "linux": { "target": "appimage", "artifactName": "deemix-gui_${os}.${ext}", "category": "AudioVideo,Audio", "icon": "build/icon.icns" + }, + "nsis": { + "artifactName": "${productName}_setup.${ext}", + "oneClick": false, + "allowToChangeInstallationDirectory": true, + "uninstallDisplayName": "${productName}", + "deleteAppDataOnUninstall": true + }, + "portable": { + "artifactName": "${productName}.${ext}", + "requestExecutionLevel": "user" } } }