@@ -95,9 +95,12 @@ public Version Version
9595
9696 public AutoActionsDaemon ( )
9797 {
98- //ChangeLanguage( new System.Globalization.CultureInfo("en-US"));
98+ SplashScreen splashScreen = new SplashScreen ( "SplashScreen.png" ) ;
99+ splashScreen . Show ( true ) ;
100+ //ChangeLanguage( new System.Globalization.CultureInfo("en-US"));
99101 Application . Current . Exit += Current_Exit ;
100102 Initialize ( ) ;
103+ splashScreen . Close ( new TimeSpan ( 0 , 0 , 0 , 2 ) ) ;
101104
102105 }
103106
@@ -126,12 +129,9 @@ private void Initialize()
126129 _lastActions = new ObservableCollection < IProfileAction > ( ) ;
127130 InitializeApplicationWatcher ( ) ;
128131 LoadSettings ( ) ;
129- SplashScreen splashScreen = new SplashScreen ( "SplashScreen.png" ) ;
130- if ( ! Settings . StartMinimizedToTray )
131- splashScreen . Show ( true ) ;
132132 Globals . Logs . Add ( "Initializing..." , false ) ;
133133 if ( Settings . CheckForNewVersion )
134- Globals . Instance . CheckForNewVersion ( ) ;
134+ Task . Run ( ( ) => Globals . Instance . CheckForNewVersion ( ) ) ;
135135 InitializeDisplayManager ( ) ;
136136 InitializeAudioManager ( ) ;
137137 InitializeTrayMenuHelper ( ) ;
@@ -141,8 +141,7 @@ private void Initialize()
141141 Initialized = true ;
142142 Globals . Logs . Add ( "Initialized" , false ) ;
143143 Start ( ) ;
144- if ( ! Settings . StartMinimizedToTray )
145- splashScreen . Close ( new TimeSpan ( 0 , 0 , 0 , 2 ) ) ;
144+
146145 }
147146 catch ( Exception ex )
148147 {
0 commit comments