Skip to content

Commit

Permalink
Merge pull request #2281 from DGP-Studio/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightczx authored Dec 13, 2024
2 parents 1f842c6 + 9093c85 commit 025176c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 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.12.6.0" />
Version="1.12.7.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.12.6.0" />
Version="1.12.7.0" />

<Properties>
<DisplayName>Snap Hutao Dev</DisplayName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ internal sealed partial class GamePathService : IGamePathService
{
private readonly IGameLocatorFactory gameLocatorFactory;
private readonly LaunchOptions launchOptions;
private readonly ITaskContext taskContext;

public async ValueTask<ValueResult<bool, string>> SilentGetGamePathAsync()
{
Expand Down Expand Up @@ -62,6 +63,7 @@ public async ValueTask SilentLocateAllGamePathAsync()
builder.AddRange(paths.Select(GamePathEntry.Create));

// Since all path we add are not in original list, we can skip calling PerformGamePathEntrySynchronization
await taskContext.SwitchToMainThreadAsync();
launchOptions.GamePathEntries = builder.ToImmutable();
}
}
Expand Down

0 comments on commit 025176c

Please sign in to comment.