Compare commits

...

5 Commits

Author SHA1 Message Date
Orgad Shaneh
9c654b8a73 Fix link on mingw cross-compilation
Library names are all lower-case.

PR #23472.
2025-11-14 21:41:32 +08:00
Chocobo1
e036781b36 NSIS: use proper data type when invoking dll functions
Also migrate away from unsupported function `SHGetSpecialFolderPath()` to `SHGetKnownFolderPath()`.

Ref:
https://nsis.sourceforge.io/Docs/System/System.html#callfuncs
https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetknownfolderpath

PR #23471.
2025-11-14 21:35:00 +08:00
Orgad Shaneh
ffbd01eb81 Fix MinGW compiler warnings
Cross-compiling with mxe on linux.

PR #23470.
2025-11-14 21:26:35 +08:00
namoen0301
530c7d1bbd NSIS: Create a mutex to ensure only one installer is running
PR #23450.
2025-11-14 21:20:02 +08:00
namoen0301
fec4e01aeb NSIS: add ManifestDPIAwareness function
* This PR added an undocumented function `ManifestDPIAwareness` and enable `PerMonitorV2` support (requires Win10 1703+)
  691211035c/Docs/src/attributes.but (L290-L292)
* Remove `XPStyle` because this function do nothing on NSIS 3.x

PR #23426.
2025-11-14 21:09:12 +08:00
65 changed files with 148 additions and 29 deletions

View File

@@ -51,6 +51,8 @@
Unicode true
ManifestDPIAware true
; add an undocumented function in NSIS, PMv2 requires Win10 1703+
ManifestDPIAwareness "PerMonitorV2,System"
!ifdef USE_UPX
!packhdr "$%TEMP%\exehead.tmp" 'upx.exe -9 --best --ultra-brute "$%TEMP%\exehead.tmp"'
@@ -59,7 +61,6 @@ ManifestDPIAware true
;Setting the compression
SetCompressor /SOLID LZMA
SetCompressorDictSize 64
XPStyle on
!include "MUI2.nsh"
!include "UAC.nsh"
@@ -73,8 +74,8 @@ XPStyle on
!define SHCNF_IDLIST 0
;For special folder detection
!define CSIDL_APPDATA '0x1A' ;Application Data path
!define CSIDL_LOCALAPPDATA '0x1C' ;Local Application Data path
!define FOLDERID_RoamingAppData {3EB685DB-65F9-4CF6-A03A-E3EF65729F3D} ; %APPDATA% (%USERPROFILE%\AppData\Roaming)
!define FOLDERID_LocalAppData {F1B32785-6FBA-4FCF-9D55-7B8E7F157091} ; %LOCALAPPDATA% (%USERPROFILE%\AppData\Local)
!define MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_RUN_FUNCTION PageFinishRun

View File

@@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_AFRIKAANS} "Uninstall qBittorr
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_AFRIKAANS} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_AFRIKAANS} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_AFRIKAANS} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -38,7 +38,8 @@ LangString inst_uninstall_link_description ${LANG_ALBANIAN} "Uninstall qBittorre
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ALBANIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ALBANIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_ALBANIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_ARABIC} "Uninstall qBittorrent
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ARABIC} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ARABIC} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_ARABIC} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_BASQUE} "Uninstall qBittorrent
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_BASQUE} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_BASQUE} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_BASQUE} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_BELARUSIAN} "Uninstall qBittor
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_BELARUSIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_BELARUSIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_BELARUSIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_BOSNIAN} "Uninstall qBittorren
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_BOSNIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_BOSNIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_BOSNIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_BRETON} "Uninstall qBittorrent
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_BRETON} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_BRETON} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_BRETON} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_BULGARIAN} "Uninstall qBittorr
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_BULGARIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_BULGARIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_BULGARIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_CATALAN} "Desinstal·lar qBitt
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_CATALAN} "Aquesta versió x64 de qBittorrent no pot funcionar en sistemes ARM64. Siusplau, descarrega l'instal·lador ARM64."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_CATALAN} "Aquesta versió ARM64 de qBittorrent no pot funcionar en sistemes x64. Siusplau, descarrega l'instal·lador x64."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_CATALAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_CROATIAN} "Uninstall qBittorre
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_CROATIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_CROATIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_CROATIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_CZECH} "Uninstall qBittorrent"
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_CZECH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_CZECH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_CZECH} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_DANISH} "Afinstaller qBittorre
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_DANISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_DANISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_DANISH} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_DUTCH} "qBittorrent verwijdere
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_DUTCH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_DUTCH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_DUTCH} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorren
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ENGLISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_ESPERANTO} "Uninstall qBittorr
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ESPERANTO} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ESPERANTO} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_ESPERANTO} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_ESTONIAN} "Desinstalli qBittor
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ESTONIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ESTONIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_ESTONIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_FARSI} "Uninstall qBittorrent"
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_FARSI} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_FARSI} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_FARSI} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_FINNISH} "Uninstall qBittorren
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_FINNISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_FINNISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_FINNISH} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_FRENCH} "Désinstaller qBittor
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_FRENCH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_FRENCH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_FRENCH} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_GALICIAN} "Uninstall qBittorre
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_GALICIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_GALICIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_GALICIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_GERMAN} "qBittorrent deinstall
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_GERMAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_GERMAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_GERMAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_GREEK} "Uninstall qBittorrent"
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_GREEK} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_GREEK} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_GREEK} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_HEBREW} "הסר את ההתק
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_HEBREW} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_HEBREW} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_HEBREW} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_HUNGARIAN} "qBittorrent eltáv
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_HUNGARIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_HUNGARIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_HUNGARIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_ICELANDIC} "Uninstall qBittorr
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ICELANDIC} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ICELANDIC} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_ICELANDIC} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_INDONESIAN} "Hapus qBittorrent
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_INDONESIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_INDONESIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_INDONESIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_IRISH} "Uninstall qBittorrent"
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_IRISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_IRISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_IRISH} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_ITALIAN} "Disinstalla qBittorr
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ITALIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ITALIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_ITALIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_JAPANESE} "qBittorrent をア
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_JAPANESE} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_JAPANESE} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_JAPANESE} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_KOREAN} "qBittorrent 제거"
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_KOREAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_KOREAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_KOREAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_KURDISH} "کیووبیتتۆر
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_KURDISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_KURDISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_KURDISH} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_LATVIAN} "Atinstalēt qBittorr
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_LATVIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_LATVIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_LATVIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_LITHUANIAN} "Pašalinti qBitto
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_LITHUANIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_LITHUANIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_LITHUANIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_LUXEMBOURGISH} "qBittorrent de
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_LUXEMBOURGISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_LUXEMBOURGISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_LUXEMBOURGISH} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_MACEDONIAN} "Uninstall qBittor
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_MACEDONIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_MACEDONIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_MACEDONIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_MALAY} "Uninstall qBittorrent"
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_MALAY} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_MALAY} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_MALAY} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_MONGOLIAN} "Uninstall qBittorr
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_MONGOLIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_MONGOLIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_MONGOLIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_NORWEGIAN} "Uninstall qBittorr
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_NORWEGIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_NORWEGIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_NORWEGIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_NORWEGIANNYNORSK} "Uninstall q
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_NORWEGIANNYNORSK} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_NORWEGIANNYNORSK} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_NORWEGIANNYNORSK} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_POLISH} "Odinstaluj qBittorren
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_POLISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_POLISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_POLISH} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_PORTUGUESE} "Desinstalar qBitt
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_PORTUGUESE} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_PORTUGUESE} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_PORTUGUESE} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_PORTUGUESEBR} "Desinstalar o q
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_PORTUGUESEBR} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_PORTUGUESEBR} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_PORTUGUESEBR} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_ROMANIAN} "Dezinstalați qBitt
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ROMANIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ROMANIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_ROMANIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_RUSSIAN} "Удалить qBitt
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_RUSSIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_RUSSIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_RUSSIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SERBIAN} "Uninstall qBittorren
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SERBIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SERBIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_SERBIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SERBIANLATIN} "Uninstall qBitt
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SERBIANLATIN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SERBIANLATIN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_SERBIANLATIN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SIMPCHINESE} "卸载 qBittorre
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SIMPCHINESE} "X64 版本的 qBittorrent 不能运行在 ARM64 系统上。请下载 ARM64 安装程序。"
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SIMPCHINESE} "ARM64 版本的 qBittorrent 不能运行在 X64 系统上。请下载 X64 安装程序。"
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_SIMPCHINESE} "另一个安装程序实例正在运行。"
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SLOVAK} "Odinštalovať qBitto
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SLOVAK} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SLOVAK} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_SLOVAK} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SLOVENIAN} "Uninstall qBittorr
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SLOVENIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SLOVENIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_SLOVENIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SPANISH} "Desinstalar qBittorr
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SPANISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SPANISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_SPANISH} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SPANISHINTERNATIONAL} "Desinst
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SPANISHINTERNATIONAL} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SPANISHINTERNATIONAL} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_SPANISHINTERNATIONAL} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SWEDISH} "Avinstallera qBittor
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SWEDISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SWEDISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_SWEDISH} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_THAI} "Uninstall qBittorrent"
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_THAI} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_THAI} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_THAI} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_TRADCHINESE} "移除 qBittorre
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_TRADCHINESE} "X64 版本的 qBittorrent 無法在 ARM64 系統上執行。請下載 ARM64 安裝程式。"
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_TRADCHINESE} "ARM64 版本的 qBittorrent 無法在 X64 系統上執行。請下載 X64 安裝程式。"
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_TRADCHINESE} "另一個安裝程式實例正在運行。"
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_TURKISH} "qBittorrent'i kaldı
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_TURKISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_TURKISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_TURKISH} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_UKRAINIAN} "Uninstall qBittorr
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_UKRAINIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_UKRAINIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_UKRAINIAN} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_UZBEK} "qBittorrent oʻchirils
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_UZBEK} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_UZBEK} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_UZBEK} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_WELSH} "Uninstall qBittorrent"
LangString inst_arch_mismatch_x64_on_arm64 ${LANG_WELSH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer."
;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
LangString inst_arch_mismatch_arm64_on_x64 ${LANG_WELSH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer."
;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running."
LangString inst_already_running ${LANG_WELSH} "Another instance of the installer is already running."
;------------------------------------
;Uninstaller strings

View File

@@ -51,7 +51,7 @@ Section $(inst_qbt_req) ;"qBittorrent (required)"
WriteRegStr HKLM "Software\Classes\magnet" "Content Type" "application/x-magnet"
WriteRegStr HKLM "Software\Classes\magnet" "URL Protocol" ""
System::Call 'Shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i ${SHCNF_IDLIST}, p 0, p 0)'
System::Call 'shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i ${SHCNF_IDLIST}, p 0, p 0)'
; Write the uninstall keys for Windows
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\qBittorrent" "DisplayName" "qBittorrent"
@@ -112,6 +112,18 @@ SectionEnd
;--------------------------------
Function .onInit
; create a mutex to ensure only one installer is running
System::Call 'kernel32::CreateMutex(p 0, b 0, t "qbt_installer") p . r1 ?e'
Var /GLOBAL CreateMutexResult
Pop $CreateMutexResult
IntCmpU $CreateMutexResult 183 isDuplicateInstance isUniqueInstance isUniqueInstance
isDuplicateInstance:
MessageBox MB_OK|MB_ICONEXCLAMATION $(inst_already_running) /SD IDOK
SetErrorLevel 183 # WinError.h: `ERROR_ALREADY_EXISTS`
Abort
isUniqueInstance:
!insertmacro Init "installer"
!insertmacro MUI_LANGDLL_DISPLAY

View File

@@ -27,7 +27,7 @@ Section "un.$(remove_registry)" ;"un.Remove registry keys"
; Remove ProgIDs
DeleteRegKey HKLM "Software\Classes\qBittorrent.File.Torrent"
DeleteRegKey HKLM "Software\Classes\qBittorrent.Url.Magnet"
System::Call 'Shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i ${SHCNF_IDLIST}, p 0, p 0)'
System::Call 'shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i ${SHCNF_IDLIST}, p 0, p 0)'
SectionEnd
Section "un.$(remove_firewall)" ;
@@ -45,8 +45,9 @@ SectionEnd
Function un.remove_conf_user
System::Call 'shell32::SHGetSpecialFolderPath(i $HWNDPARENT, t .r1, i ${CSIDL_APPDATA}, i0)i.r0'
System::Call 'shell32::SHGetKnownFolderPath(g "${FOLDERID_RoamingAppData}", i 0, p 0, *w . r1) i . r0'
RMDir /r "$1\qBittorrent"
System::Call 'ole32::CoTaskMemFree(p r1)'
FunctionEnd
@@ -58,8 +59,9 @@ SectionEnd
Function un.remove_cache_user
System::Call 'shell32::SHGetSpecialFolderPath(i $HWNDPARENT, t .r1, i ${CSIDL_LOCALAPPDATA}, i0)i.r0'
RMDir /r "$1\qBittorrent\"
System::Call 'shell32::SHGetKnownFolderPath(g "${FOLDERID_LocalAppData}", i 0, p 0, *w . r1) i . r0'
RMDir /r "$1\qBittorrent"
System::Call 'ole32::CoTaskMemFree(p r1)'
FunctionEnd

View File

@@ -127,10 +127,12 @@ namespace
#endif
}
#if !defined(Q_OS_WIN) || defined(DISABLE_GUI)
void displayVersion()
{
printf("%s %s\n", qUtf8Printable(qApp->applicationName()), QBT_VERSION);
}
#endif
#ifndef DISABLE_GUI
void showSplashScreen()

View File

@@ -247,7 +247,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
${IOKit_LIBRARY}
)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows")
target_link_libraries(qbt_base PRIVATE Iphlpapi PowrProf)
target_link_libraries(qbt_base PRIVATE iphlpapi powrprof)
endif()
if (NOT GUI)

View File

@@ -65,7 +65,7 @@ namespace
bool hasDriveLetter(const QStringView path)
{
const QRegularExpression driveLetterRegex {u"^[A-Za-z]:/"_s};
return driveLetterRegex.match(path).hasMatch();
return driveLetterRegex.matchView(path).hasMatch();
}
#endif
}
@@ -104,7 +104,7 @@ bool Path::isValid() const
// \\37 is using base-8 number system
const QRegularExpression regex {u"[\\0-\\37:?\"*<>|]"_s};
return !regex.match(view).hasMatch();
return !regex.matchView(view).hasMatch();
#elif defined(Q_OS_MACOS)
const QRegularExpression regex {u"[\\0:]"_s};
#else

View File

@@ -275,11 +275,11 @@ bool Utils::OS::applyMarkOfTheWeb(const Path &file, const QString &url)
const QByteArray zoneID = QByteArrayLiteral("[ZoneTransfer]\r\nZoneId=3\r\n")
+ u"HostUrl=%1\r\n"_s.arg(hostURL).toUtf8();
if (LARGE_INTEGER streamSize = {0};
if (LARGE_INTEGER streamSize {};
::GetFileSizeEx(handle, &streamSize) && (streamSize.QuadPart > 0))
{
const DWORD expectedReadSize = std::min<LONGLONG>(streamSize.QuadPart, 1024);
QByteArray buf {expectedReadSize, '\0'};
QByteArray buf {static_cast<qsizetype>(expectedReadSize), '\0'};
if (DWORD actualReadSize = 0;
::ReadFile(handle, buf.data(), expectedReadSize, &actualReadSize, nullptr) && (actualReadSize == expectedReadSize))
@@ -289,14 +289,14 @@ bool Utils::OS::applyMarkOfTheWeb(const Path &file, const QString &url)
}
}
if (!::SetFilePointerEx(handle, {0}, nullptr, FILE_BEGIN))
if (!::SetFilePointerEx(handle, {}, nullptr, FILE_BEGIN))
return false;
if (!::SetEndOfFile(handle))
return false;
DWORD written = 0;
const BOOL writeResult = ::WriteFile(handle, zoneID.constData(), zoneID.size(), &written, nullptr);
return writeResult && (written == zoneID.size());
return writeResult && (static_cast<qsizetype>(written) == zoneID.size());
#endif
}
#endif // Q_OS_MACOS || Q_OS_WIN