From 3fd498ee6d13c2ffe0ab5adb17a55064e1b46d4c Mon Sep 17 00:00:00 2001 From: Etoh Date: Sun, 10 Mar 2019 19:28:38 +0000 Subject: [PATCH] Support high DPI in Windows installer --- buildPy2exe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildPy2exe.py b/buildPy2exe.py index ff67342..0415a16 100644 --- a/buildPy2exe.py +++ b/buildPy2exe.py @@ -69,6 +69,7 @@ NSIS_SCRIPT_TEMPLATE = r""" OutFile "Syncplay-$version-Setup.exe" InstallDir $$PROGRAMFILES\Syncplay RequestExecutionLevel admin + ManifestDPIAware true XPStyle on Icon resources\icon.ico ;Change DIR SetCompressor /SOLID lzma @@ -737,4 +738,4 @@ info = dict( ) sys.argv.extend(['py2exe', '-p win32com ', '-i twisted.web.resource', '-p PySide2']) -setup(**info) \ No newline at end of file +setup(**info)