@@ -41,7 +41,7 @@ $references_file = Join-Path $tools_dir ".references"
41
41
New-Item " $tools_dir " , " $managed_dir " , " $docs_dir " - ItemType Directory - Force | Out-Null
42
42
43
43
# Set URLs of dependencies and tools to download
44
- $steam_depotdl_url = " https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.5.0/depotdownloader-2.5.0 .zip"
44
+ $steam_depotdl_url = " https://img.mrblue.io/bf641959245341c381cffc95f38a2bc6 .zip"
45
45
$de4dot_url = " https://github.com/0xd4d/de4dot/suites/507020524/artifacts/2658127"
46
46
$patcher_url = " https://github.com/OxideMod/Oxide.Patcher/releases/download/latest/OxidePatcher.exe"
47
47
@@ -102,7 +102,7 @@ function Find-Dependencies {
102
102
103
103
function Get-Downloader {
104
104
# Check if DepotDownloader is already downloaded
105
- $steam_depotdl_dll = Join-Path $tools_dir " DepotDownloader.dll "
105
+ $steam_depotdl_dll = Join-Path $tools_dir " DepotDownloader.exe "
106
106
$steam_depotdl_zip = Join-Path $tools_dir " DepotDownloader.zip"
107
107
if (! (Test-Path $steam_depotdl_dll ) -or (Get-Item $steam_depotdl_dll ).LastWriteTime -lt (Get-Date ).AddDays(-7 )) {
108
108
# Download and extract DepotDownloader
@@ -167,7 +167,7 @@ function Get-Dependencies {
167
167
# Attempt to run DepotDownloader to get game DLLs
168
168
try {
169
169
Write-Host " $steam_access -app $steam_appid -branch $steam_branch $steam_depot -os $platform -dir $deps_dir "
170
- Start-Process dotnet - WorkingDirectory $tools_dir - ArgumentList " $steam_depotdl_dll $steam_access -app $steam_appid -branch $steam_branch $steam_depot -os $platform -dir $platform_dir -filelist $references_file " - NoNewWindow - Wait
170
+ Start-Process $steam_depotdl_dll - WorkingDirectory $tools_dir - ArgumentList " $steam_access -app $steam_appid -branch $steam_branch $steam_depot -os $platform -dir $platform_dir -filelist $references_file " - NoNewWindow - Wait
171
171
} catch {
172
172
Write-Host " Error: Could not start or complete getting dependencies"
173
173
Write-Host $_.Exception | Format-List - Force
0 commit comments