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 else
{ {
textblockOnline.Foreground = Brushes.Green; textblockOnline.Foreground = Brushes.Green;
//if (System.Reflection.Assembly.GetExecutingAssembly().CodeBase == appdata) if (exepath == appdata)
//{ {
//WindowState = WindowState.Minimized; WindowState = WindowState.Minimized;
//System.Threading.Thread.Sleep(100); Hide();
//Hide(); }
//}
} }
} }
private void Load(string[] files) private void Load(string[] files)