mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This commit is contained in:
@@ -825,6 +825,11 @@ public static class ASF {
|
||||
}
|
||||
|
||||
private static async Task<bool> ProtectAgainstCrashes() {
|
||||
if (Debugging.IsDebugBuild) {
|
||||
// Allow debug builds to run unconditionally, we expect to crash a lot in those
|
||||
return true;
|
||||
}
|
||||
|
||||
string crashFilePath = GetFilePath(EFileType.Crash);
|
||||
|
||||
CrashFile crashFile = await CrashFile.CreateOrLoad(crashFilePath).ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user