diff --git a/source/Generic/SpecialKHelper/Core/Application/SpecialKHelper.cs b/source/Generic/SpecialKHelper/Core/Application/SpecialKHelper.cs
index 484b20281..20a531a92 100644
--- a/source/Generic/SpecialKHelper/Core/Application/SpecialKHelper.cs
+++ b/source/Generic/SpecialKHelper/Core/Application/SpecialKHelper.cs
@@ -220,7 +220,10 @@ public override void OnGameStopped(OnGameStoppedEventArgs args)
_steamHelper.RemoveBigPictureModeEnvVariable();
}
- StopAllSpecialKServices();
+ if (!settings.Settings.KeepServicesRunning)
+ {
+ StopAllSpecialKServices();
+ }
}
private void StopAllSpecialKServices()
diff --git a/source/Generic/SpecialKHelper/Core/Application/SpecialKHelperSettings.cs b/source/Generic/SpecialKHelper/Core/Application/SpecialKHelperSettings.cs
index 0f40fdcfe..443ab550e 100644
--- a/source/Generic/SpecialKHelper/Core/Application/SpecialKHelperSettings.cs
+++ b/source/Generic/SpecialKHelper/Core/Application/SpecialKHelperSettings.cs
@@ -48,6 +48,8 @@ public class SpecialKHelperSettings : ObservableObject
public bool StopIfEasyAntiCheat { get => stopIfEasyAntiCheat; set => SetValue(ref stopIfEasyAntiCheat, value); }
private string customSpecialKPath = string.Empty;
public string CustomSpecialKPath { get => customSpecialKPath; set => SetValue(ref customSpecialKPath, value); }
+ private bool _keepServicesRunning = true;
+ public bool KeepServicesRunning { get => _keepServicesRunning; set => SetValue(ref _keepServicesRunning, value); }
}
public class SpecialKHelperSettingsViewModel : ObservableObject, ISettings
diff --git a/source/Generic/SpecialKHelper/Core/Localization/en_US.xaml b/source/Generic/SpecialKHelper/Core/Localization/en_US.xaml
index 21590803e..d1924599f 100644
--- a/source/Generic/SpecialKHelper/Core/Localization/en_US.xaml
+++ b/source/Generic/SpecialKHelper/Core/Localization/en_US.xaml
@@ -31,6 +31,7 @@ Selective Mode: Special K services are started only for games that have the incl
Stop start of services if game has "Valve Anti-Cheat Enabled" feature
Stop start of services if it is detected that the game uses EasyAntiCheat
Only start Special K services when starting PC games
+ Keep services running after game is closed
Default settings for new profiles created by Special K
Enable Steam overlay
diff --git a/source/Generic/SpecialKHelper/Core/Presentation/SpecialKHelperSettingsView.xaml b/source/Generic/SpecialKHelper/Core/Presentation/SpecialKHelperSettingsView.xaml
index 0166a5577..bc38e02c8 100644
--- a/source/Generic/SpecialKHelper/Core/Presentation/SpecialKHelperSettingsView.xaml
+++ b/source/Generic/SpecialKHelper/Core/Presentation/SpecialKHelperSettingsView.xaml
@@ -46,6 +46,9 @@
+
+