Skip to content

Commit

Permalink
Add missing search asterisks
Browse files Browse the repository at this point in the history
  • Loading branch information
paulov-t committed May 7, 2024
1 parent 51c6394 commit 035cfa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SIT.Manager/Services/Install/InstallerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -698,14 +698,14 @@ public async Task InstallSit(GithubRelease selectedVersion, string targetInstall
}

// Find Assembly-CSharp file
var assemblyCSharpFiles = Directory.GetFiles(coreFilesPath, "Assembly-CSharp.dll");
var assemblyCSharpFiles = Directory.GetFiles(coreFilesPath, "*Assembly-CSharp.dll");
if (assemblyCSharpFiles.Length == 0)
throw new IndexOutOfRangeException("No Assembly-CSharp found in download!");
if (assemblyCSharpFiles.Length > 1)
throw new IndexOutOfRangeException("There are more than one Assembly-CSharp files found!");

// Find StayInTarkov.dll
var sitFiles = Directory.GetFiles(coreFilesPath, "StayInTarkov.dll");
var sitFiles = Directory.GetFiles(coreFilesPath, "*StayInTarkov.dll");
if (sitFiles.Length == 0)
throw new IndexOutOfRangeException("No StayInTarkov.dll found in download!");
if (sitFiles.Length > 1)
Expand Down

0 comments on commit 035cfa1

Please sign in to comment.