diff --git a/GalgameManager/App.xaml.cs b/GalgameManager/App.xaml.cs
index 255895a5..c5923ebd 100644
--- a/GalgameManager/App.xaml.cs
+++ b/GalgameManager/App.xaml.cs
@@ -216,6 +216,8 @@ public static void SetWindowMode(WindowMode mode)
SystemTray?.Dispose();
_instance.Exit();
break;
+ case WindowMode.None:
+ break;
}
}
}
diff --git a/GalgameManager/Enums/WindowMode.cs b/GalgameManager/Enums/WindowMode.cs
index 2b25e1fb..87d5fff4 100644
--- a/GalgameManager/Enums/WindowMode.cs
+++ b/GalgameManager/Enums/WindowMode.cs
@@ -26,5 +26,11 @@ public enum WindowMode
/// 启动中
///
Booting,
+
+
+ ///
+ /// 游玩时pvn状态,None为什么都不做
+ ///
+ None,
}
\ No newline at end of file
diff --git a/GalgameManager/Strings/zh-CN/Resources.resw b/GalgameManager/Strings/zh-CN/Resources.resw
index 0ed7bc57..4e74a8d2 100644
--- a/GalgameManager/Strings/zh-CN/Resources.resw
+++ b/GalgameManager/Strings/zh-CN/Resources.resw
@@ -1727,4 +1727,7 @@
Tags
+
+ 什么都不做
+
\ No newline at end of file
diff --git a/GalgameManager/ViewModels/SettingsViewModel.cs b/GalgameManager/ViewModels/SettingsViewModel.cs
index af4e6610..7b89f9ef 100644
--- a/GalgameManager/ViewModels/SettingsViewModel.cs
+++ b/GalgameManager/ViewModels/SettingsViewModel.cs
@@ -105,7 +105,7 @@ public SettingsViewModel(IThemeSelectorService themeSelectorService, ILocalSetti
//GAME
_recordOnlyForeground = _localSettingsService.ReadSettingAsync(KeyValues.RecordOnlyWhenForeground).Result;
_playingWindowMode = _localSettingsService.ReadSettingAsync(KeyValues.PlayingWindowMode).Result;
- PlayingWindowModes = new[] {WindowMode.Minimize, WindowMode.SystemTray };
+ PlayingWindowModes = new[] {WindowMode.Minimize, WindowMode.SystemTray, WindowMode.None };
//RSS
RssType = _localSettingsService.ReadSettingAsync(KeyValues.RssType).Result;
//DOWNLOAD_BEHAVIOR