mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
Allow cmdline arg for forbidding Steam parental generation
This commit is contained in:
@@ -54,6 +54,7 @@ internal static class Program {
|
||||
internal static bool RestartAllowed { get; private set; } = true;
|
||||
internal static bool Service { get; private set; }
|
||||
internal static bool ShutdownSequenceInitialized { get; private set; }
|
||||
internal static bool SteamParentalGeneration { get; private set; } = true;
|
||||
|
||||
#if !NETFRAMEWORK
|
||||
private static readonly Dictionary<PosixSignal, PosixSignalRegistration> RegisteredPosixSignals = new();
|
||||
@@ -529,6 +530,10 @@ internal static class Program {
|
||||
case "--NO-RESTART" when !cryptKeyNext && !networkGroupNext && !pathNext:
|
||||
RestartAllowed = false;
|
||||
|
||||
break;
|
||||
case "--NO-STEAM-PARENTAL-GENERATION" when !cryptKeyNext && !networkGroupNext && !pathNext:
|
||||
SteamParentalGeneration = false;
|
||||
|
||||
break;
|
||||
case "--PROCESS-REQUIRED" when !cryptKeyNext && !networkGroupNext && !pathNext:
|
||||
ProcessRequired = true;
|
||||
|
||||
Reference in New Issue
Block a user