Skip to content

Commit 812a404

Browse files
committed
v1.1.5
1 parent d2339f0 commit 812a404

4 files changed

Lines changed: 11 additions & 3 deletions

File tree

Forms/MainFrm.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ private void Icons8Link_Click(object sender, EventArgs e)
477477

478478
private void CheckUpdatesBtn_OnButtonClick(object sender, EventArgs e)
479479
{
480+
CheckUpdatesBtn.ButtonEnabled = false;
480481
CheckForUpdates(true);
481482
}
482483

@@ -992,6 +993,7 @@ private async Task<bool> CheckForUpdates(bool bInvalidate, bool bShowPrompt = tr
992993

993994
ConfigToInterface(); // Retrieves the users configuration settings and assigns it to the UI.
994995
StorageToInterface(); // Retrieves Rocket League paths, version, and platform info to then assign to the UI.
996+
CheckUpdatesBtn.ButtonEnabled = true;
995997
return true;
996998
}
997999

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 = "CodeRed Launcher";
1212
private static readonly string Copyright = "Rocket Planet Services Inc.";
1313
private static readonly string License = "MIT License";
14-
private static readonly string Version = "1.1.4";
14+
private static readonly string Version = "1.1.5";
1515

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

Framework/Retrievers.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public static async Task<bool> DownloadFile(string url, Architecture.Path folder
141141
public static class Retrievers
142142
{
143143
private static bool Initialized = false;
144-
private static readonly string RemoteUrl = "https://raw.githubusercontent.com/CodeRedModding/CodeRed-Retrievers/main/Launcher.json";
144+
private static string RemoteUrl = "https://raw.githubusercontent.com/CodeRedModding/CodeRed-Retrievers/main/Public/Launcher.json";
145145

146146
private static List<InternalSetting> RemoteSettings = new List<InternalSetting>()
147147
{
@@ -155,6 +155,7 @@ public static class Retrievers
155155
new InternalSetting(null, "DiscordUrl"),
156156
new InternalSetting(null, "KofiUrl"),
157157
new InternalSetting(null, "NewsUrl"),
158+
new InternalSetting(null, "LauncherAlt"),
158159
new InternalSetting("No changelog provided for the most recent update.", "LauncherChangelog"),
159160
new InternalSetting("No changelog provided for the most recent update.", "ModuleChangelog"),
160161
new InternalSetting("Bakkes, Martinn, TaylorSasser, ButternCream, GlenHumphrey, ToolB0x, BeardedOranges, and Megasplat/Aberinkula/FrancesElMute.", "Credits"),
@@ -190,6 +191,11 @@ private static async Task<bool> DownloadRemote()
190191
{
191192
RemoteSettings[i].SetValue(mappedBody[RemoteSettings[i].Name]);
192193
Logger.Write("Retrieved remote value: " + RemoteSettings[i].GetStringValue());
194+
195+
if ((RemoteSettings[i].Name == "LauncherAlt") && (RemoteSettings[i].GetStringValue() != "null"))
196+
{
197+
RemoteUrl = RemoteSettings[i].GetStringValue();
198+
}
193199
}
194200
}
195201

Properties/PublishProfiles/FolderProfile.pubxml.user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
44
-->
55
<Project>
66
<PropertyGroup>
7-
<History>True|2023-04-15T12:12:25.4751548Z;True|2023-02-23T17:42:55.3711325-05:00;True|2023-01-26T05:55:54.7338406-05:00;True|2023-01-14T16:37:43.9661254-05:00;True|2023-01-11T15:04:57.9184587-05:00;True|2023-01-01T06:51:43.9653309-05:00;True|2022-12-29T03:28:57.5161186-05:00;True|2022-12-25T20:55:07.0626032-05:00;True|2022-12-24T18:45:18.2492814-05:00;True|2022-12-24T17:58:05.8108440-05:00;True|2022-12-23T00:36:55.2356565-05:00;True|2022-12-22T20:46:31.3667454-05:00;True|2022-12-22T20:36:59.8978942-05:00;True|2022-12-22T20:32:40.9627042-05:00;True|2022-12-22T20:27:45.7845417-05:00;True|2022-12-22T20:08:26.4442830-05:00;True|2022-12-22T20:07:06.2254198-05:00;True|2022-12-22T20:01:04.3986967-05:00;True|2022-12-22T19:57:34.6741553-05:00;True|2022-12-22T19:46:09.3566048-05:00;True|2022-12-22T19:45:03.2884935-05:00;True|2022-12-22T19:36:42.2434776-05:00;True|2022-12-22T19:31:21.4738973-05:00;True|2022-12-22T19:27:34.9406205-05:00;False|2022-12-22T19:27:27.7152676-05:00;True|2022-12-22T19:14:05.9421852-05:00;True|2022-12-22T18:02:42.2130135-05:00;</History>
7+
<History>True|2023-04-17T22:09:22.0218857Z;True|2023-04-15T08:12:25.4751548-04:00;True|2023-02-23T17:42:55.3711325-05:00;True|2023-01-26T05:55:54.7338406-05:00;True|2023-01-14T16:37:43.9661254-05:00;True|2023-01-11T15:04:57.9184587-05:00;True|2023-01-01T06:51:43.9653309-05:00;True|2022-12-29T03:28:57.5161186-05:00;True|2022-12-25T20:55:07.0626032-05:00;True|2022-12-24T18:45:18.2492814-05:00;True|2022-12-24T17:58:05.8108440-05:00;True|2022-12-23T00:36:55.2356565-05:00;True|2022-12-22T20:46:31.3667454-05:00;True|2022-12-22T20:36:59.8978942-05:00;True|2022-12-22T20:32:40.9627042-05:00;True|2022-12-22T20:27:45.7845417-05:00;True|2022-12-22T20:08:26.4442830-05:00;True|2022-12-22T20:07:06.2254198-05:00;True|2022-12-22T20:01:04.3986967-05:00;True|2022-12-22T19:57:34.6741553-05:00;True|2022-12-22T19:46:09.3566048-05:00;True|2022-12-22T19:45:03.2884935-05:00;True|2022-12-22T19:36:42.2434776-05:00;True|2022-12-22T19:31:21.4738973-05:00;True|2022-12-22T19:27:34.9406205-05:00;False|2022-12-22T19:27:27.7152676-05:00;True|2022-12-22T19:14:05.9421852-05:00;True|2022-12-22T18:02:42.2130135-05:00;</History>
88
<LastFailureDetails />
99
</PropertyGroup>
1010
</Project>

0 commit comments

Comments
 (0)