Disable the warning about no premium to streamline installs. Fix a update loop on the server

This commit is contained in:
Timothy Baldridge 2020-08-08 12:26:55 -06:00
parent 38b0e739cf
commit 6c6768aab6
2 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reactive;
@ -124,6 +124,8 @@ namespace Wabbajack.Lib.Downloaders
return;
}
/* Disabled for better User experience
if (!await _client.IsPremium())
{
var result = await Utils.Log(new YesNoIntervention(
@ -134,6 +136,7 @@ namespace Wabbajack.Lib.Downloaders
Utils.ErrorThrow(new UnconvertedError($"Aborting at the request of the user"));
}
}
*/
_prepared = true;
}
}

View File

@ -36,11 +36,15 @@ namespace Wabbajack.Server.Services
public async Task Notify<T>()
{
// Needs debugging
/*
using var _ = await _lock.WaitAsync();
if (_syncs.TryGetValue(typeof(T), out var ct))
{
ct.Cancel();
}
*/
}