From 65b2c032a1f5a7917e842342b6d12634ecf51915 Mon Sep 17 00:00:00 2001 From: NXY <62371554+NXY666@users.noreply.github.com> Date: Sun, 3 Mar 2024 18:56:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=AF=E7=A7=AF=E7=AD=96=E7=95=A5=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=B9=B6=E6=96=B0=E5=A2=9E=E6=B7=B1=E8=89=B2=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E6=94=AF=E6=8C=81=20(#18)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增 深色模式支持 优化 格式化代码 调整 版本信息中当前版本号的显示逻辑 调整 图标文件结构 调整 README.md 更新 策略配置文件至123.0.2420.10版本 更新 依赖项 --- .gitignore | 3 + App.xaml | 13 +- App.xaml.cs | 12 +- Assets/github.svg | 1 - Assets/icon.ico | Bin 53433 -> 53433 bytes MainPage.xaml.cs | 8 +- Pages/Policy/Contents/IntegerContent.xaml | 2 +- Pages/Policy/Contents/PolicyContent.cs | 10 +- Pages/Policy/Contents/StringContent.xaml | 2 +- Pages/Policy/DetailPage.xaml | 3 +- Pages/Policy/DetailPage.xaml.cs | 28 +- Pages/Policy/SettingsPage.xaml | 2 +- Pages/Policy/SettingsPage.xaml.cs | 11 +- Pages/PolicyPage.xaml.cs | 76 +- Pages/WelcomePage.xaml | 13 +- Pages/WelcomePage.xaml.cs | 87 +- PolicyManager.csproj | 5 +- PolicyManager.sln.DotSettings | 9 +- README.en-US.md | 20 +- README.md | 20 +- README.zh-TW.md | 20 +- StaticModels/Icon/IconMap.json | 1406 +---------------- .../Policy/Edge/en-US/PolicyDetailMap.json | 2 +- .../Policy/Edge/en-US/PolicyMenuList.json | 2 +- .../Policy/Edge/zh-CN/PolicyDetailMap.json | 2 +- .../Policy/Edge/zh-CN/PolicyMenuList.json | 2 +- .../Policy/Edge/zh-TW/PolicyDetailMap.json | 2 +- .../Policy/Edge/zh-TW/PolicyMenuList.json | 2 +- .../EdgeUpdate/en-US/PolicyDetailMap.json | 2 +- .../EdgeUpdate/zh-CN/PolicyDetailMap.json | 2 +- .../EdgeUpdate/zh-TW/PolicyDetailMap.json | 2 +- .../EdgeWebview/en-US/PolicyDetailMap.json | 2 +- .../EdgeWebview/en-US/PolicyMenuList.json | 2 +- .../EdgeWebview/zh-CN/PolicyDetailMap.json | 2 +- .../EdgeWebview/zh-CN/PolicyMenuList.json | 2 +- .../EdgeWebview/zh-TW/PolicyDetailMap.json | 2 +- .../EdgeWebview/zh-TW/PolicyMenuList.json | 2 +- StaticModels/Policy/SUPPORT_VERSION | 2 +- StaticModels/Policy/TEMPLATE_MD5 | 2 +- Utils/FileUtil.cs | 2 +- Utils/PickerUtil.cs | 17 +- Utils/PolicyUtil.cs | 62 +- Utils/RegistryUtil.cs | 15 +- Utils/ResourceUtil.cs | 14 +- 44 files changed, 207 insertions(+), 1688 deletions(-) delete mode 100644 Assets/github.svg diff --git a/.gitignore b/.gitignore index a437a65..77d0bf7 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,6 @@ msbuild.wrn # Visual Studio 2015 .vs/ + +# DIY +/Local/ diff --git a/App.xaml b/App.xaml index 2f2b78e..c6d1448 100644 --- a/App.xaml +++ b/App.xaml @@ -6,8 +6,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:Microsoft.UI.Xaml.Controls" - xmlns:uiConverters="using:CommunityToolkit.WinUI.UI.Converters" - RequestedTheme="Light"> + xmlns:uiConverters="using:CommunityToolkit.WinUI.UI.Converters"> @@ -16,7 +15,7 @@