add ability to disable updater
This commit is contained in:
parent
7169325e7e
commit
d454db4579
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue