mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-25 15:08:47 -07:00
launcher: fix Steamless download 404 (correct asset filename)
The 'Unlock Rec Room from Steam' step built the release URL as Steamless.v3.1.0.5.zip, but the actual GitHub asset is named Steamless.v3.1.0.5.-.by.atom0s.zip. Same tag, wrong filename, so the download 404'd. Correct the asset name in ZipUrl.
This commit is contained in:
@@ -22,9 +22,12 @@ namespace DorkNet.Launcher.Backend;
|
||||
public static class SteamlessInstaller
|
||||
{
|
||||
private const string PinnedVersion = "v3.1.0.5";
|
||||
// Upstream names the asset "Steamless.{ver}.-.by.atom0s.zip" — NOT
|
||||
// "Steamless.{ver}.zip". Getting this wrong is a 404 at the
|
||||
// "Unlock Rec Room from Steam" step.
|
||||
private const string ZipUrl =
|
||||
"https://github.com/atom0s/Steamless/releases/download/" +
|
||||
PinnedVersion + "/Steamless." + PinnedVersion + ".zip";
|
||||
PinnedVersion + "/Steamless." + PinnedVersion + ".-.by.atom0s.zip";
|
||||
|
||||
private static readonly HttpClient Http = new()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user