diff --git a/ArchiSteamFarm/Localization/Strings.resx b/ArchiSteamFarm/Localization/Strings.resx index 2ddde77e4..ed6977a04 100644 --- a/ArchiSteamFarm/Localization/Strings.resx +++ b/ArchiSteamFarm/Localization/Strings.resx @@ -720,7 +720,7 @@ Process uptime: {1} {0} will be replaced by the name of a particular setting (e.g. "AES"), {1} will be replaced by the name of the property (e.g. "SteamPassword") - You're attempting to run ASF as the administrator (root). This causes a significant security risk to your machine, and as ASF does not require root access for its operation, we do not support this scenario. Supply --ignore-unsupported-environment argument if you really know what you're doing. + You're attempting to run ASF as the administrator (root). This causes a significant security risk to your machine, and as ASF does not require root access for its operation, we recommend to run it as non-administrator user if possible. You're running ASF in unsupported environment, supplying --ignore-unsupported-environment argument. Please note that we do not offer any kind of support for this scenario and you're doing it entirely at your own risk. You've been warned. diff --git a/ArchiSteamFarm/Program.cs b/ArchiSteamFarm/Program.cs index 80e7053dd..8e2d8c52b 100644 --- a/ArchiSteamFarm/Program.cs +++ b/ArchiSteamFarm/Program.cs @@ -271,10 +271,8 @@ internal static class Program { } if (OS.IsRunningAsRoot()) { - ASF.ArchiLogger.LogGenericError(Strings.WarningRunningAsRoot); - await Task.Delay(SharedInfo.InformationDelay).ConfigureAwait(false); - - return false; + ASF.ArchiLogger.LogGenericWarning(Strings.WarningRunningAsRoot); + await Task.Delay(SharedInfo.ShortInformationDelay).ConfigureAwait(false); } } diff --git a/Directory.Build.props b/Directory.Build.props index 31a3b1769..bf75e0e1d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 5.2.0.9 + 5.2.0.10