mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Disable the warning about no premium to streamline installs. Fix a update loop on the server
This commit is contained in:
parent
38b0e739cf
commit
6c6768aab6
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user