add ability to disable updater

This commit is contained in:
Jakob 2021-09-09 20:21:05 +02:00
parent 7169325e7e
commit d454db4579

View file

@ -112,6 +112,8 @@ namespace EnvyUpdate
private async void Load()
{
//Check if updater disabled
if (!File.Exists(Path.Combine(GlobalVars.exepath, "disable_updater.envy")))
await Util.DoUpdateAsync();
int psid = 0;