File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -424,8 +424,6 @@ def main():
424424 """
425425 log .debug ("Core starting" )
426426
427- ctypes .windll .user32 .SetProcessDPIAware ()
428-
429427 import config
430428 if not globalVars .appArgs .configPath :
431429 globalVars .appArgs .configPath = config .getUserDefaultConfigPath (useInstalledPathIfExists = globalVars .appArgs .launcher )
Original file line number Diff line number Diff line change 3232RT_MANIFEST = 24
3333manifest_template = """\
3434 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
35- <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
35+ <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"
36+ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
3637 <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
3738 <security>
3839 <requestedPrivileges>
6364 />
6465 </application>
6566 </compatibility>
67+ <asmv3:application>
68+ <asmv3:windowsSettings>
69+ <dpiAware
70+ xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"
71+ >true/pm</dpiAware>
72+ <dpiAwareness
73+ xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings"
74+ >PerMonitorV2, PerMonitor</dpiAwareness>
75+ </asmv3:windowsSettings>
76+ </asmv3:application>
6677</assembly>
6778"""
6879
You can’t perform that action at this time.
0 commit comments