File tree 4 files changed +13
-4
lines changed
4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 8
8
publish :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : vedantmgoyal2009 /winget-releaser@v2
11
+ - uses : vedantmgoyal9 /winget-releaser@main
12
12
with :
13
13
identifier : pizzaboxer.Bloxstrap
14
14
token : ${{ secrets.WINGET_TOKEN }}
Original file line number Diff line number Diff line change 7
7
<UseWPF >true</UseWPF >
8
8
<UseWindowsForms >True</UseWindowsForms >
9
9
<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 >
12
12
<ApplicationManifest >app.manifest</ApplicationManifest >
13
13
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
14
14
<IncludeSourceRevisionInInformationalVersion >false</IncludeSourceRevisionInInformationalVersion >
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ public LaunchSettings(string[] args)
113
113
if ( i < Args . Length - 1 && Args [ i + 1 ] is string nextArg && ! nextArg . StartsWith ( '-' ) )
114
114
{
115
115
flag . Data = nextArg ;
116
+ i ++ ;
116
117
App . Logger . WriteLine ( LOG_IDENT , $ "Identifier '{ identifier } ' is active with data") ;
117
118
}
118
119
else
Original file line number Diff line number Diff line change @@ -176,7 +176,15 @@ public static async Task<ClientVersion> GetInfo(string? channel = null)
176
176
App . Logger . WriteLine ( LOG_IDENT , "Failed to contact clientsettingscdn! Falling back to clientsettings..." ) ;
177
177
App . Logger . WriteException ( LOG_IDENT , ex ) ;
178
178
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
+ }
180
188
}
181
189
182
190
// check if channel is behind LIVE
You can’t perform that action at this time.
0 commit comments