diff --git a/Desktop/Views/Pages/SettingsPage.xaml b/Desktop/Views/Pages/SettingsPage.xaml
index 3bf5c2f19..d5e72aa4c 100644
--- a/Desktop/Views/Pages/SettingsPage.xaml
+++ b/Desktop/Views/Pages/SettingsPage.xaml
@@ -569,6 +569,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Desktop/Views/Pages/SettingsPage.xaml.cs b/Desktop/Views/Pages/SettingsPage.xaml.cs
index 2ae1633ec..d91926938 100644
--- a/Desktop/Views/Pages/SettingsPage.xaml.cs
+++ b/Desktop/Views/Pages/SettingsPage.xaml.cs
@@ -316,6 +316,11 @@ public async void SaveConfiguration()
{
Config.Core_RunConfig._SaveCover = (bool)SaveCover_SwitchControl.IsChecked;
}
+ //修复完成后删除原始文件开关
+ if (Config.Core_RunConfig._DeleteOriginalFileAfterRepair != DeleteOriginalFileAfterRepair_SwitchControl.IsChecked)
+ {
+ Config.Core_RunConfig._DeleteOriginalFileAfterRepair = (bool)DeleteOriginalFileAfterRepair_SwitchControl.IsChecked;
+ }
#endregion