Skip to content

Commit

Permalink
fix the pre-install state of Honkai3rd
Browse files Browse the repository at this point in the history
  • Loading branch information
Scighost committed Jan 30, 2024
1 parent 9c9533a commit ec3e833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Starward/Services/GameResourceService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public async Task<bool> CheckPreDownloadIsOKAsync(GameBiz biz)
}
else
{
string file = Path.Combine(installPath, resource.PreDownloadGame.Latest.Name);
string file = Path.Combine(installPath, Path.GetFileName(resource.PreDownloadGame.Latest.Path));
if (!File.Exists(file))
{
return false;
Expand Down

0 comments on commit ec3e833

Please sign in to comment.