Skip to content

Commit

Permalink
Merge pull request #1254 from DGP-Studio/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightczx authored Jan 3, 2024
2 parents a30c8d8 + 5a19c19 commit 96e42f5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Snap.Hutao/Snap.Hutao/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<Identity
Name="60568DGPStudio.SnapHutao"
Publisher="CN=35C8E923-85DF-49A7-9172-B39DC6312C52"
Version="1.9.2.0" />
Version="1.9.3.0" />

<Properties>
<DisplayName>Snap Hutao</DisplayName>
Expand Down
2 changes: 1 addition & 1 deletion src/Snap.Hutao/Snap.Hutao/Package.development.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<Identity
Name="60568DGPStudio.SnapHutaoDev"
Publisher="CN=35C8E923-85DF-49A7-9172-B39DC6312C52"
Version="1.9.2.0" />
Version="1.9.3.0" />

<Properties>
<DisplayName>Snap Hutao Dev</DisplayName>
Expand Down
11 changes: 10 additions & 1 deletion src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameShared.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,16 @@ internal static class LaunchGameShared
{
public static LaunchScheme? GetCurrentLaunchSchemeFromConfigFile(IGameServiceFacade gameService, IInfoBarService infoBarService)
{
ChannelOptions options = gameService.GetChannelOptions();
ChannelOptions options;
try
{
options = gameService.GetChannelOptions();
}
catch (InvalidOperationException)
{
return default;
}

if (string.IsNullOrEmpty(options.ConfigFilePath))
{
try
Expand Down

0 comments on commit 96e42f5

Please sign in to comment.