mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
upgrade<Version>: Release 1.9
This commit is contained in:
parent
84b2b4d7ae
commit
59e075ff09
4 changed files with 8 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
# SourceGit
|
||||
|
||||
开源的Git客户端,仅用于Windows 10。需要`.NET 5.0`
|
||||
开源的Git客户端,仅用于Windows 10。
|
||||
|
||||
## 预览
|
||||
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<TargetFramework>net46</TargetFramework>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<SelfContained>false</SelfContained>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<UseWPF>true</UseWPF>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<ApplicationIcon>App.ico</ApplicationIcon>
|
||||
|
@ -12,7 +9,7 @@
|
|||
<Description>OpenSource GIT client for Windows</Description>
|
||||
<Copyright>Copyright © sourcegit 2020. All rights reserved.</Copyright>
|
||||
<ApplicationManifest>App.manifest</ApplicationManifest>
|
||||
<Version>1.8</Version>
|
||||
<Version>1.9</Version>
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<StartupObject>SourceGit.App</StartupObject>
|
||||
<PackageProjectUrl>https://gitee.com/sourcegit/SourceGit.git</PackageProjectUrl>
|
||||
|
|
|
@ -117,7 +117,8 @@ namespace SourceGit.UI {
|
|||
new Typeface(content.FontFamily, p.FontStyle, p.FontWeight, p.FontStretch),
|
||||
content.FontSize,
|
||||
Brushes.Black,
|
||||
VisualTreeHelper.GetDpi(this).PixelsPerDip);
|
||||
new NumberSubstitution(),
|
||||
TextFormattingMode.Ideal);
|
||||
if (minWidth < formatter.Width) {
|
||||
content.Document.PageWidth = formatter.Width + 16;
|
||||
minWidth = formatter.Width;
|
||||
|
|
|
@ -218,7 +218,8 @@ namespace SourceGit.UI {
|
|||
new Typeface(leftText.FontFamily, p.FontStyle, p.FontWeight, p.FontStretch),
|
||||
leftText.FontSize,
|
||||
Brushes.Black,
|
||||
VisualTreeHelper.GetDpi(this).PixelsPerDip);
|
||||
new NumberSubstitution(),
|
||||
TextFormattingMode.Ideal);
|
||||
|
||||
if (minWidth < formatter.Width) minWidth = formatter.Width;
|
||||
|
||||
|
|
Loading…
Reference in a new issue