mirror of
https://github.com/InvisibleUp/uvmac.git
synced 2024-11-28 15:50:11 +00:00
Add Win32 manifest, rsrc dependency list
manifest needed for 1:1 pixel sizing on high DPI displays
This commit is contained in:
parent
02ca67284e
commit
8423f06d38
@ -60,11 +60,18 @@ configure_file(
|
||||
lSDL2 = dependency('SDL2', static: true)
|
||||
|
||||
# Windows resources
|
||||
# todo: gate this off if not on Windows
|
||||
if target_machine.system() == 'windows'
|
||||
windows = import('windows')
|
||||
WIN_RSRC = windows.compile_resources(
|
||||
'rsrc/WIN32/main.rc',
|
||||
depend_files: [
|
||||
'rsrc/WIN32/app.manifest',
|
||||
'rsrc/WIN32/ICONAPPW.ico',
|
||||
'rsrc/WIN32/ICONDSKW.ico',
|
||||
'rsrc/WIN32/ICONROMW.ico',
|
||||
'rsrc/SONYDRV.bin',
|
||||
'rsrc/SONYICO.bin',
|
||||
]
|
||||
)
|
||||
else
|
||||
WIN_RSRC = []
|
||||
|
36
rsrc/WIN32/app.manifest
Normal file
36
rsrc/WIN32/app.manifest
Normal file
@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
<application>
|
||||
<!-- Supports Windows Vista / Server 2008 -->
|
||||
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
|
||||
<!-- Supports Windows 7 / Server 2008 R2 -->
|
||||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
|
||||
<!-- Supports Windows 8 / Server 2012 -->
|
||||
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
|
||||
<!-- Supports Windows 8.1 / Server 2012 R2 -->
|
||||
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
|
||||
<!-- Supports Windows 10 -->
|
||||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
|
||||
</application>
|
||||
</compatibility>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity type="Win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">system</dpiAwareness>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
</assembly>
|
Binary file not shown.
@ -1,4 +1,9 @@
|
||||
//LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
#include "winresrc.h"
|
||||
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
|
||||
// Application manifest
|
||||
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "app.manifest"
|
||||
|
||||
// Icons
|
||||
ICO_APP ICON DISCARDABLE "ICONAPPW.ico"
|
||||
@ -24,7 +29,7 @@ BEGIN
|
||||
VALUE "FileDescription", "A 68k Macintosh emulator\0"
|
||||
VALUE "FileVersion", "v0.37.0\0"
|
||||
VALUE "InternalName", "microvmac\0"
|
||||
VALUE "LegalCopyright", "©1996-2020 various contributors. Licensed under the GPL v2.\0"
|
||||
VALUE "LegalCopyright", "(c)1996-2023 various contributors. Licensed under the GPL v2.\0"
|
||||
VALUE "OriginalFilename", "microvmac.exe\0"
|
||||
VALUE "ProductName", "micro vMac\0"
|
||||
VALUE "ProductVersion", "v0.37.0\0"
|
||||
|
Loading…
Reference in New Issue
Block a user