Skip to content

Commit 1ba96bf

Browse files
committed
Update Steam DepotDownloader tool
1 parent f1d8802 commit 1ba96bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Steam.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $references_file = Join-Path $tools_dir ".references"
4040
New-Item "$tools_dir", "$managed_dir" -ItemType Directory -Force | Out-Null
4141

4242
# Set URLs of dependencies and tools to download
43-
$steam_depotdl_url = "https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.3.2/depotdownloader-2.3.2.zip"
43+
$steam_depotdl_url = "https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.4.3/depotdownloader-2.4.3-hotfix1.zip"
4444
$de4dot_url = "https://github.com/0xd4d/de4dot/suites/507020524/artifacts/2658127"
4545
$patcher_url = "https://github.com/OxideMod/Oxide.Patcher/releases/download/latest/OxidePatcher.exe"
4646

@@ -79,8 +79,8 @@ function Find-Dependencies {
7979
Write-Host "Getting references for $steam_branch branch of $steam_appid"
8080
try {
8181
# TODO: Exclude dependencies included in repository
82-
($xml.selectNodes("//Reference") | Select-Object Include -ExpandProperty Include) -Replace "\S+$", "$&.dll" | Out-File $references_file
83-
Write-Host "References:" ((Get-Content $references_file) -Join ', ')
82+
($xml.selectNodes("//Reference") | Select-Object Include -ExpandProperty Include) -Replace "\S+$", "regex:$&.dll" | Out-File $references_file
83+
Write-Host "References:" ((Get-Content $references_file).Replace('regex:', '') -Join ', ')
8484
} catch {
8585
Write-Host "Error: Could not get references or none found in $project.csproj"
8686
Write-Host $_.Exception | Format-List -Force

0 commit comments

Comments
 (0)