in the past we had GitHub Download url i just came back to rust after a long time and i cant find a proper url stating the file name for the Rust Umod like we had in the past im trying to get Umod updated together with Rust So the servers wont be breaking when it auto updates rust
Download URL
i seen a few post about wget but i am ussing Windows Powershell to update the Server
$Url = 'https://umod.org/games/rust/download?tag=public'
$ZipFile = 'C:\Users\robin\Desktop\' + $(Split-Path -Path $Url -Leaf)
$Destination= 'C:\Users\robin\Desktop\'
Invoke-WebRequest -Uri $Url -OutFile $ZipFile
$ExtractShell = New-Object -ComObject Shell.Application
$Files = $ExtractShell.Namespace($ZipFile).Items()
$ExtractShell.NameSpace($Destination).CopyHere($Files)
Start-Process $Destination
What exactly is the issue? The URL above is correct, which is simply a redirect to GitHub.
powershell doesnt work with that URL as far i tried all the ways i know of before it use to work fine when it had a file at the end like oxide.rust.zip then the command knows its a file to download and then extract the file as wel i might be doing something wrong but in the past when i could find rust umod /oxide in github it has a URL for that now when i go to Rust Mod Page press github i dont even get redirected to the correct files
its a bit confusing could u link me directly to the github source perhaps?
Make sure you are setting a user agent.