application now hides at boot

This commit is contained in:
Jakob 2019-11-09 19:20:41 +01:00
parent 212dd5958e
commit bcf11b4d79

View file

@ -121,12 +121,11 @@ namespace EnvyUpdate
else
{
textblockOnline.Foreground = Brushes.Green;
//if (System.Reflection.Assembly.GetExecutingAssembly().CodeBase == appdata)
//{
//WindowState = WindowState.Minimized;
//System.Threading.Thread.Sleep(100);
//Hide();
//}
if (exepath == appdata)
{
WindowState = WindowState.Minimized;
Hide();
}
}
}
private void Load(string[] files)