Add a windows manifest to set the DPI awareness by default: <https://docs.microsoft.com/en-us/windows/win32/hidpi/setting-the-default-dpi-awareness-for-a-process> Refs #40 <https://github.com/Genymobile/scrcpy/issues/40> Fixes #2865 <https://github.com/Genymobile/scrcpy/issues/2865>
23 lines
549 B
Text
23 lines
549 B
Text
#include <winuser.h>
|
|
|
|
0 ICON "../data/icon.ico"
|
|
1 RT_MANIFEST "scrcpy-windows.manifest"
|
|
2 VERSIONINFO
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904E4"
|
|
BEGIN
|
|
VALUE "FileDescription", "Display and control your Android device"
|
|
VALUE "InternalName", "scrcpy"
|
|
VALUE "LegalCopyright", "Romain Vimont, Genymobile"
|
|
VALUE "OriginalFilename", "scrcpy.exe"
|
|
VALUE "ProductName", "scrcpy"
|
|
VALUE "ProductVersion", "1.21"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1252
|
|
END
|
|
END
|