From 1d5e047fcfff46ba6d8f8c2529eae4175ada962e Mon Sep 17 00:00:00 2001 From: Tomoyuki Aota Date: Sat, 2 Nov 2024 00:23:21 +0900 Subject: [PATCH] Made portable app available on Windows. With this commit, running "npm run package:windows" creates "release\Photo Location Map Portable 1.10.1-alpha.exe". --- electron-builder.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/electron-builder.json b/electron-builder.json index a0043423..7adea104 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -14,12 +14,16 @@ "win": { "icon": "dist", "target": [ - "nsis" + "nsis", + "portable" ] }, "nsis": { "oneClick": false }, + "portable": { + "artifactName": "${productName} Portable ${version}.${ext}" + }, "mac": { "icon": "dist", "target": [