mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-10 00:46:48 -06:00
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.
This commit is contained in:
parent
4541044c42
commit
fec4e01aeb
3
dist/windows/config.nsh
vendored
3
dist/windows/config.nsh
vendored
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user