From 492d3c3b80f2de3f9c332800016a00a1f1f856f0 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Mon, 7 Oct 2024 13:44:16 +0000 Subject: [PATCH] win build: setup exe should install to 64-bit "Program Files" setup exe used to install Electrum to `C:\Program Files (x86)\Electrum`, but now as the binaries are amd64, we should install to `C:\Program Files\Electrum`. With this change, based on my experiments, looks like if there is an existing install, nsis will keep using that path, but if it's a fresh install, it will now use the 64-bit path. follow-up https://github.com/spesmilo/electrum/commit/fcc4e1d38773da0484910cacc80c16117b9c15c5 --- contrib/build-wine/electrum.nsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/build-wine/electrum.nsi b/contrib/build-wine/electrum.nsi index 1e36b14f2..a42a66884 100644 --- a/contrib/build-wine/electrum.nsi +++ b/contrib/build-wine/electrum.nsi @@ -19,7 +19,7 @@ OutFile "dist/electrum-setup.exe" ;Default installation folder - InstallDir "$PROGRAMFILES\${PRODUCT_NAME}" + InstallDir "$PROGRAMFILES64\${PRODUCT_NAME}" ;Get installation folder from registry if available InstallDirRegKey HKCU "Software\${PRODUCT_NAME}" ""