Support high DPI in Windows installer

This commit is contained in:
Etoh 2019-03-10 19:28:38 +00:00 committed by GitHub
parent f39fe4c01b
commit 3fd498ee6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -69,6 +69,7 @@ NSIS_SCRIPT_TEMPLATE = r"""
OutFile "Syncplay-$version-Setup.exe" OutFile "Syncplay-$version-Setup.exe"
InstallDir $$PROGRAMFILES\Syncplay InstallDir $$PROGRAMFILES\Syncplay
RequestExecutionLevel admin RequestExecutionLevel admin
ManifestDPIAware true
XPStyle on XPStyle on
Icon resources\icon.ico ;Change DIR Icon resources\icon.ico ;Change DIR
SetCompressor /SOLID lzma SetCompressor /SOLID lzma
@ -737,4 +738,4 @@ info = dict(
) )
sys.argv.extend(['py2exe', '-p win32com ', '-i twisted.web.resource', '-p PySide2']) sys.argv.extend(['py2exe', '-p win32com ', '-i twisted.web.resource', '-p PySide2'])
setup(**info) setup(**info)