Skip to content

Commit 7e8c967

Browse files
authored
Merge branch 'bloxstraplabs:main' into main
2 parents 1c20488 + 4785464 commit 7e8c967

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

.github/workflows/winget.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: vedantmgoyal2009/winget-releaser@v2
11+
- uses: vedantmgoyal9/winget-releaser@main
1212
with:
1313
identifier: pizzaboxer.Bloxstrap
1414
token: ${{ secrets.WINGET_TOKEN }}

Bloxstrap/Bloxstrap.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<UseWPF>true</UseWPF>
88
<UseWindowsForms>True</UseWindowsForms>
99
<ApplicationIcon>Bloxstrap.ico</ApplicationIcon>
10-
<Version>2.8.5</Version>
11-
<FileVersion>2.8.5</FileVersion>
10+
<Version>2.8.6</Version>
11+
<FileVersion>2.8.6</FileVersion>
1212
<ApplicationManifest>app.manifest</ApplicationManifest>
1313
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1414
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>

Bloxstrap/LaunchSettings.cs

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ public LaunchSettings(string[] args)
113113
if (i < Args.Length - 1 && Args[i+1] is string nextArg && !nextArg.StartsWith('-'))
114114
{
115115
flag.Data = nextArg;
116+
i++;
116117
App.Logger.WriteLine(LOG_IDENT, $"Identifier '{identifier}' is active with data");
117118
}
118119
else

Bloxstrap/RobloxInterfaces/Deployment.cs

+9-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,15 @@ public static async Task<ClientVersion> GetInfo(string? channel = null)
176176
App.Logger.WriteLine(LOG_IDENT, "Failed to contact clientsettingscdn! Falling back to clientsettings...");
177177
App.Logger.WriteException(LOG_IDENT, ex);
178178

179-
clientVersion = await Http.GetJson<ClientVersion>("https://clientsettings.roblox.com" + path);
179+
try
180+
{
181+
clientVersion = await Http.GetJson<ClientVersion>("https://clientsettings.roblox.com" + path);
182+
}
183+
catch (HttpRequestException httpEx)
184+
when (!isDefaultChannel && BadChannelCodes.Contains(httpEx.StatusCode))
185+
{
186+
throw new InvalidChannelException(httpEx.StatusCode);
187+
}
180188
}
181189

182190
// check if channel is behind LIVE

0 commit comments

Comments
 (0)