diff --git a/EnvyUpdate/MainWindow.xaml.cs b/EnvyUpdate/MainWindow.xaml.cs index 1204619..c21d341 100644 --- a/EnvyUpdate/MainWindow.xaml.cs +++ b/EnvyUpdate/MainWindow.xaml.cs @@ -112,7 +112,9 @@ namespace EnvyUpdate 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 pfid = 0;