From d0f6077dc9517153fe7706d257c11baeb73a7d5b Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 4 Jul 2020 17:18:15 +0800 Subject: [PATCH] Use idea from PUMA to configure global user name and email --- README.md | 6 ++++ UI/Preference.xaml | 29 ++++++++++++++------ UI/Preference.xaml.cs | 64 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index fee0e5d7..c0fd512f 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ 开源的Git客户端,仅用于Windows 10。单文件,无需安装,< 500KB。 +## 预览 + * DarkTheme ![Preview_Dark](./Preview_Dark.png) @@ -10,3 +12,7 @@ ![Preview_Light](./Preview_Light.png) + +## Thanks + +* [PUMA](https://gitee.com/whgfu) 配置默认User diff --git a/UI/Preference.xaml b/UI/Preference.xaml index 7bd3d5e0..57296653 100644 --- a/UI/Preference.xaml +++ b/UI/Preference.xaml @@ -8,7 +8,7 @@ xmlns:app="clr-namespace:SourceGit" xmlns:git="clr-namespace:SourceGit.Git" mc:Ignorable="d" - Height="362" Width="500"> + Height="472" Width="500"> @@ -21,6 +21,10 @@ + + + + @@ -75,11 +79,18 @@ + + +