Skip to content

Commit ad68916

Browse files
committed
v1.0.6
1 parent 3d70785 commit ad68916

File tree

7 files changed

+108
-110
lines changed

7 files changed

+108
-110
lines changed

Forms/MainFrm.Designer.cs

Lines changed: 90 additions & 90 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Forms/MainFrm.cs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Framework/Assembly.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public static class Assembly
1111
private static readonly string Product = "CodeRedLauncher";
1212
private static readonly string Copyright = "Copyright © CodeRedModding 2022";
1313
private static readonly string License = "MIT License";
14-
private static readonly string Version = "1.0.5";
14+
private static readonly string Version = "1.0.6";
1515

1616
public static string GetTitle() { return Title; }
1717
public static string GetDescription() { return Description; }

0 commit comments

Comments
 (0)