@@ -593,13 +593,13 @@ private async void StartupRoutine(bool bInvalidate = false)
593593 Interface . BindTab ( Tabs . TAB_SCRIPTS , ScriptsTabBtn , ScriptsTab ) ;
594594 Interface . BindTab ( Tabs . TAB_SETTINGS , SettingsTabBtn , SettingsTab ) ;
595595 Interface . BindTab ( Tabs . TAB_ABOUT , AboutTabBtn , AboutTab ) ;
596+ Interface . SelectTab ( Tabs . TAB_DASHBOARD ) ;
596597
597598 Architecture . Path tempFolder = ( new Architecture . Path ( Path . GetTempPath ( ) ) / "CodeRedLauncher" ) ;
598599
599600 if ( tempFolder . Exists ( ) )
600601 {
601- // This is to cleanup anything left over by the auto updator/dropper program.
602- Directory . Delete ( tempFolder . GetPath ( ) , true ) ;
602+ Directory . Delete ( tempFolder . GetPath ( ) , true ) ; // This is to cleanup anything left over by the auto updator/dropper program.
603603 }
604604
605605 if ( ! Storage . HasCoderedRegistry ( ) || ! Storage . GetModulePath ( ) . Exists ( ) )
@@ -635,7 +635,7 @@ private async void StartupRoutine(bool bInvalidate = false)
635635 {
636636 string pingUrl = await Retrievers . GetModuleUrl ( ) ;
637637
638- if ( ( await Downloaders . WebsiteOnline ( pingUrl ) ) == false )
638+ if ( await Downloaders . WebsiteOnline ( pingUrl ) == false )
639639 {
640640 OfflinePopupCtrl . Show ( ) ;
641641 }
@@ -648,8 +648,6 @@ private async void StartupRoutine(bool bInvalidate = false)
648648 {
649649 OfflinePopupCtrl . Show ( ) ;
650650 }
651-
652- NewsCtrl . ParseArticles ( await Retrievers . GetNewsUrl ( ) ) ;
653651 }
654652 else
655653 {
@@ -672,13 +670,14 @@ private async void ContinueStartup()
672670 {
673671 if ( ! Configuration . OfflineMode . GetBoolValue ( ) )
674672 {
673+ NewsCtrl . ParseArticles ( await Retrievers . GetNewsUrl ( ) ) ;
675674 ChangelogCtrl . DisplayText = await Retrievers . GetModuleChangelog ( ) ;
676675 DiscordLink . Text = await Retrievers . GetDiscordUrl ( ) ;
677676 KofiLink . Text = await Retrievers . GetKofiUrl ( ) ;
678677
679678 if ( Configuration . ShouldCheckForUpdates ( ) )
680679 {
681- CheckForUpdates ( false ) ;
680+ await CheckForUpdates ( false ) ;
682681 }
683682 }
684683 else
0 commit comments