mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
NSIS: add support for Windows ARM64 build
Qt >=6.8 can native compile on Windows ARM64 machine, and GitHub also provides windows-11-arm runner. so I think It's time to add support. I've tested from my branch and Snapdragon 8cx gen3 computer. all ci build passed. Closes #11465 PR #23328.
This commit is contained in:
7
dist/windows/config.nsh
vendored
7
dist/windows/config.nsh
vendored
@@ -35,12 +35,15 @@
|
||||
;End of user configurable options
|
||||
;==============================================================================
|
||||
|
||||
; QBT_CPU_ARCH (x64 or arm64)
|
||||
!define /ifndef QBT_CPU_ARCH "x64"
|
||||
|
||||
!ifndef QBT_INSTALLER_WINDOWNAME | QBT_INSTALLER_FILENAME
|
||||
; The name of the installer
|
||||
!define QBT_INSTALLER_WINDOWNAME "${QBT_VERSION} x64"
|
||||
!define QBT_INSTALLER_WINDOWNAME "${QBT_VERSION} ${QBT_CPU_ARCH}"
|
||||
|
||||
; The file to write
|
||||
!define QBT_INSTALLER_FILENAME "${QBT_VERSION}_x64"
|
||||
!define QBT_INSTALLER_FILENAME "${QBT_VERSION}_${QBT_CPU_ARCH}"
|
||||
!endif
|
||||
|
||||
!define /ifndef QBT_DIST_DIR "qBittorrent"
|
||||
|
||||
Reference in New Issue
Block a user