mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Give PuTTYtel its own Windows manifest file.
While grepping for FIXME comments I could get rid of easily, I came across a completely unexplained one in puttytel.rc, and after a moment of thought, realised that it was there because PuTTYtel sharing PuTTY's manifest file means the manifest has the wrong application name. Of course I could do something a bit more clever involving having one copy of the manifest file and templating it to multiple applications, but I think it would be more pain than it's worth given that the templating system would have to be compatible with all the makefiles and run on Windows systems where no sensible scripting was available. So I just do it the trivial way.
This commit is contained in:
parent
e655053942
commit
d9369d4a46
31
windows/puttytel.mft
Normal file
31
windows/puttytel.mft
Normal file
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!-- Do not attempt to do anything clever with this file, as some versions of
|
||||
Windows are very sensitive to the exact format.
|
||||
Hence, some facts below are fibs. -->
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<assemblyIdentity
|
||||
version="0.0.0.0"
|
||||
processorArchitecture="*"
|
||||
name="PuTTYtel"
|
||||
type="win32" />
|
||||
<description>A network client and terminal emulator</description>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<!-- Load Common Controls 6 instead of 5 to get WinXP native-
|
||||
looking controls in the client area. -->
|
||||
<assemblyIdentity type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
processorArchitecture="*"/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<!-- Declare us to be "DPI-aware". -->
|
||||
<asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
|
||||
<asmv3:windowsSettings
|
||||
xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
|
||||
<dpiAware>true</dpiAware>
|
||||
</asmv3:windowsSettings>
|
||||
</asmv3:application>
|
||||
</assembly>
|
@ -6,6 +6,5 @@
|
||||
#include "win_res.rc2"
|
||||
|
||||
#ifndef NO_MANIFESTS
|
||||
/* FIXME */
|
||||
1 RT_MANIFEST "putty.mft"
|
||||
1 RT_MANIFEST "puttytel.mft"
|
||||
#endif /* NO_MANIFESTS */
|
||||
|
Loading…
Reference in New Issue
Block a user