mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
add Dpi Awareness
This commit is contained in:
parent
baa6c1445a
commit
44d3f960cb
3 changed files with 19 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<startup>
|
<runtime>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
|
<AppContextSwitchOverrides value="Switch.System.Windows.DoNotScaleForDpiChanges=false" />
|
||||||
</startup>
|
</runtime>
|
||||||
</configuration>
|
</configuration>
|
14
SourceGit/App.manifest
Normal file
14
SourceGit/App.manifest
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<dependency>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>
|
||||||
|
</dependentAssembly>
|
||||||
|
</dependency>
|
||||||
|
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
|
<windowsSettings>
|
||||||
|
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
|
||||||
|
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||||
|
</windowsSettings>
|
||||||
|
</application>
|
||||||
|
</assembly>
|
|
@ -9,6 +9,7 @@
|
||||||
<Company>Leo</Company>
|
<Company>Leo</Company>
|
||||||
<Description>OpenSource GIT client for Windows</Description>
|
<Description>OpenSource GIT client for Windows</Description>
|
||||||
<Copyright>Copyright © sourcegit 2020. All rights reserved.</Copyright>
|
<Copyright>Copyright © sourcegit 2020. All rights reserved.</Copyright>
|
||||||
|
<ApplicationManifest>App.manifest</ApplicationManifest>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Resource Include="App.ico" />
|
<Resource Include="App.ico" />
|
||||||
|
|
Loading…
Reference in a new issue