mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Misc
This commit is contained in:
@@ -116,7 +116,7 @@ public static class ASF {
|
||||
await UpdateAndRestart().ConfigureAwait(false);
|
||||
|
||||
if (!Program.IgnoreUnsupportedEnvironment && !await ProtectAgainstCrashes().ConfigureAwait(false)) {
|
||||
ArchiLogger.LogGenericError(Strings.ErrorTooManyCrashes);
|
||||
ArchiLogger.LogFatalError(Strings.ErrorTooManyCrashes);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Newtonsoft.Json;
|
||||
@@ -35,12 +34,6 @@ public sealed class CommandRequest {
|
||||
[Required]
|
||||
public string Command { get; private set; } = "";
|
||||
|
||||
internal CommandRequest(string command) {
|
||||
ArgumentException.ThrowIfNullOrEmpty(command);
|
||||
|
||||
Command = command;
|
||||
}
|
||||
|
||||
[JsonConstructor]
|
||||
private CommandRequest() { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user