Skip to content

Commit 2bd61ea

Browse files
committed
fix(windows): density
1 parent ba62845 commit 2bd61ea

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
<Project>
2+
<PropertyGroup>
3+
<ApplicationManifest Condition="'$(ApplicationManifest)' == '' and Exists('$(MSBuildThisFileDirectory)app.manifest')">$(MSBuildThisFileDirectory)app.manifest</ApplicationManifest>
4+
</PropertyGroup>
25
</Project>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
3+
<assemblyIdentity version="1.0.0.0" name="NativeScript.app" />
4+
5+
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
6+
<security>
7+
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
8+
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
9+
</requestedPrivileges>
10+
</security>
11+
</trustInfo>
12+
13+
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
14+
<application>
15+
<!-- Windows 10 / Windows 11 -->
16+
<maxversiontested Id="10.0.26100.0" />
17+
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
18+
</application>
19+
</compatibility>
20+
<application xmlns="urn:schemas-microsoft-com:asm.v3">
21+
<windowsSettings>
22+
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
23+
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
24+
</windowsSettings>
25+
</application>
26+
</assembly>

0 commit comments

Comments
 (0)