Skip initial ASF check for debug builds

This commit is contained in:
JustArchi
2017-01-31 02:05:08 +01:00
parent a31f734711
commit 64d3146ab2

View File

@@ -45,6 +45,10 @@ namespace ArchiSteamFarm {
private static FileSystemWatcher FileSystemWatcher;
internal static async Task CheckForUpdate(bool updateOverride = false) {
if (Debugging.IsDebugBuild && !updateOverride) {
return;
}
string exeFile = Assembly.GetEntryAssembly().Location;
if (string.IsNullOrEmpty(exeFile)) {
ArchiLogger.LogNullError(nameof(exeFile));