/ src / modules / MouseWithoutBorders / App / MouseWithoutBorders.exe.manifest
MouseWithoutBorders.exe.manifest
 1  <?xml version="1.0" encoding="utf-8"?>
 2  <assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
 3      <assemblyIdentity version="2.1.6.1103" name="MouseWithoutBorders"/>
 4      <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
 5          <security>
 6              <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
 7                  <!-- UAC Manifest Options
 8               If you want to change the Windows User Account Control level replace the 
 9               requestedExecutionLevel node with one of the following.
10  
11          <requestedExecutionLevel  level="asInvoker" uiAccess="false" />
12          <requestedExecutionLevel  level="requireAdministrator" uiAccess="false" />
13          <requestedExecutionLevel  level="highestAvailable" uiAccess="false" />
14  
15              Specifying requestedExecutionLevel element will disable file and registry virtualization. 
16              Remove this element if your application requires this virtualization for backwards
17              compatibility.
18          -->
19                  <!--NOTE(@yuyoyuppe): disabled to drop elevation requirement-->
20                  <!--<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />-->
21              </requestedPrivileges>
22          </security>
23      </trustInfo>
24  
25      <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
26          <application>
27              <!-- A list of the Windows versions that this application has been tested on and is
28             is designed to work with. Uncomment the appropriate elements and Windows will 
29             automatically selected the most compatible environment. -->
30  
31              <!-- Windows Vista -->
32              <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />
33  
34              <!-- Windows 7 -->
35              <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />
36  
37              <!-- Windows 8 -->
38              <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />
39  
40              <!-- Windows 8.1 -->
41              <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />
42  
43              <!-- Windows 10 -->
44              <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
45  
46          </application>
47      </compatibility>
48  
49      <!--
50    DpiAwareness must be set to PROCESS_PER_MONITOR_DPI_AWARE to ensure individual screen resolution is pulled by the app properly.
51    UI may be a little broken in high DPI but that would be a minor issue.
52    More info.: https://docs.microsoft.com/en-us/windows/win32/api/shellscalingapi/ne-shellscalingapi-process_dpi_awareness
53    
54    This is also set in code by calling SetProcessDpiAwareness but setting in manifest file is recommended.
55    -->
56      <application xmlns="urn:schemas-microsoft-com:asm.v3">
57          <windowsSettings>
58              <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
59              <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
60          </windowsSettings>
61      </application>
62  
63      <!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
64      <!--
65    <dependency>
66      <dependentAssembly>
67        <assemblyIdentity
68            type="win32"
69            name="Microsoft.Windows.Common-Controls"
70            version="6.0.0.0"
71            processorArchitecture="*"
72            publicKeyToken="6595b64144ccf1df"
73            language="*"
74          />
75      </dependentAssembly>
76    </dependency>
77    -->
78  
79  </assembly>