From 9b42ce509f6bed4abc6884f14a34dc6c09edfef1 Mon Sep 17 00:00:00 2001 From: Lukas Obermann Date: Sat, 2 Mar 2024 16:55:29 +0100 Subject: [PATCH] build(config): enable switching install location on windows --- build/build.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/build.js b/build/build.js index c84c7bb2..f50c35b3 100644 --- a/build/build.js +++ b/build/build.js @@ -72,9 +72,10 @@ const config = { artifactName: isPrerelease ? "OptolithInsiderSetup_${version}.${ext}" : "OptolithSetup_${version}.${ext}", }, nsis: { - perMachine: true, + oneClick: false, + perMachine: false, + allowToChangeInstallationDirectory: true, differentialPackage: true, - deleteAppDataOnUninstall: false, }, linux: { category: "RolePlaying",