给exe加dpi相关清单命令

b清单加给a程序:

mt.exe -nologo -manifest "b.manifest" -outputresource:"a.exe;1"

a程序提取出2清单:

mt.exe -inputresource:a.exe;#1 -out:2.manifest

下面为dpi相关清单.

<?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">
  <asmv3:application>
    <asmv3:windowsSettings>
      <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
      <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
    </asmv3:windowsSettings>
  </asmv3:application>
</assembly>
上一篇:uniapp设置跨域代理


下一篇:problems_halo