mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Use .manifest file for apps on Windows
Works with CMake, and also adds DPI awareness to DolphinQt2 (which wasn't enabled before).
This commit is contained in:
@ -108,7 +108,10 @@ if(APPLE)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
list(APPEND SRCS DolphinWX.rc)
|
||||
list(APPEND SRCS
|
||||
DolphinWX.manifest
|
||||
DolphinWX.rc
|
||||
)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
|
8
Source/Core/DolphinWX/DolphinWX.manifest
Normal file
8
Source/Core/DolphinWX/DolphinWX.manifest
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
</assembly>
|
@ -51,7 +51,7 @@
|
||||
<ClCompile />
|
||||
<ClCompile />
|
||||
<Manifest>
|
||||
<EnableDpiAwareness>true</EnableDpiAwareness>
|
||||
<AdditionalManifestFiles>DolphinWX.manifest;%(AdditionalManifestFiles)</AdditionalManifestFiles>
|
||||
</Manifest>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
|
Reference in New Issue
Block a user