packServer/desktop/app.manifest

36 lines
1.7 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="YuncangTrace.LocalService.app" />
<!--
默认**以普通权限启动**(asInvoker):
- 网页 yuncang:// 叫醒、双击、开始菜单都不弹 UAC,日常查件/预览/下载不需要管理员。
- 只有真正要改本机系统时间(NTP 校时的「立即校时 / 同步 NVR 时间」)时,
才由 Services/ElevatedNtp.cs 用 runas 拉起一个只做校时的临时进程(会弹一次 UAC)。
- 本机 HTTP 服务绑定的 http://localhost:端口/ 已验证普通权限可监听。
-->
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<!-- 高 DPI 下别让 WPF 被系统拉伸(否则字发虚) -->
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
</windowsSettings>
</application>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Windows 10 / 11 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
</application>
</compatibility>
</assembly>