summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoofar <toofar@spalge.com>2023-08-12 14:46:45 +1200
committertoofar <toofar@spalge.com>2023-08-13 15:14:24 +1200
commitc1841c7948f2350c44dfd44a88bee3c33459351a (patch)
treef5a44839b8f7d976edd742e12b74c47f7c6e6f65
parentf903ae4985c435905110de7a794087cb533a957b (diff)
downloadqutebrowser-c1841c7948f2350c44dfd44a88bee3c33459351a.tar.gz
qutebrowser-c1841c7948f2350c44dfd44a88bee3c33459351a.zip
nsis: remove arch from binary path string
We dropped 32bit support in #7804 and as a result removed the arch suffix from the binary that pyinstaller produces. This commit removes it form the lookup path in the installer too. Note that we are leaving the arch string in the installer itself for now. Mostly because it'll be removed as part of a later change when the installer itself is refreshed. But it might also be useful to clarify in the installer names what the arch is? Maybe, that reasoning might not fit with the previous change to remove the arch strings.
-rwxr-xr-xmisc/nsis/qutebrowser.nsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/nsis/qutebrowser.nsi b/misc/nsis/qutebrowser.nsi
index a6863ba34..bd5156e83 100755
--- a/misc/nsis/qutebrowser.nsi
+++ b/misc/nsis/qutebrowser.nsi
@@ -124,11 +124,11 @@ ShowUninstDetails hide
; If not defined, get VERSION from PROGEXE. Set DIST_DIR accordingly.
!ifndef VERSION
- !define /ifndef DIST_DIR ".\..\..\dist\${PRODUCT_NAME}-${ARCH}"
+ !define /ifndef DIST_DIR ".\..\..\dist\${PRODUCT_NAME}"
!getdllversion "${DIST_DIR}\${PROGEXE}" expv_
!define VERSION "${expv_1}.${expv_2}.${expv_3}"
!else
- !define /ifndef DIST_DIR ".\..\..\dist\${PRODUCT_NAME}-${VERSION}-${ARCH}"
+ !define /ifndef DIST_DIR ".\..\..\dist\${PRODUCT_NAME}-${VERSION}"
!endif
; If not defined, assume Qt6 (requires a more recent windows version)