add ability to disable updater
This commit is contained in:
parent
7169325e7e
commit
d454db4579
1 changed files with 3 additions and 1 deletions
|
@ -112,7 +112,9 @@ namespace EnvyUpdate
|
||||||
|
|
||||||
private async void Load()
|
private async void Load()
|
||||||
{
|
{
|
||||||
await Util.DoUpdateAsync();
|
//Check if updater disabled
|
||||||
|
if (!File.Exists(Path.Combine(GlobalVars.exepath, "disable_updater.envy")))
|
||||||
|
await Util.DoUpdateAsync();
|
||||||
|
|
||||||
int psid = 0;
|
int psid = 0;
|
||||||
int pfid = 0;
|
int pfid = 0;
|
||||||
|
|
Reference in a new issue