Bug 574018 - Add a manifest to executables

Patch from Jernej Simončič.
This commit is contained in:
Martin Nordholts 2010-06-22 19:35:16 +02:00
parent 75941beaca
commit ff1da59f33
3 changed files with 28 additions and 2 deletions

View File

@ -83,9 +83,10 @@ gimp_2_7_SOURCES = $(libapp_sources) main.c
EXTRA_DIST = \
makefile.msc \
gimp.rc.in \
fileicon.ico \
gimp.manifest \
gimp.rc.in \
makefile.msc \
wilber.ico
if OS_WIN32

23
app/gimp.manifest Normal file
View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity version="2.0.0.0" name="gnu.gnome.gimp" type="win32"/>
<description>GIMP</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/><!-- Vista -->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/><!-- Win7 -->
</application>
</compatibility>
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true</dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>

View File

@ -61,5 +61,7 @@ BEGIN
END
END
#include "winuser.h"
1 ICON "wilber.ico"
2 ICON "fileicon.ico"
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "gimp.manifest"