Skip to content

Commit

Permalink
Fix download url
Browse files Browse the repository at this point in the history
  • Loading branch information
Razzmatazzz committed Sep 29, 2024
1 parent 241a380 commit c0155bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RemnantSaveGuardian/RemnantSaveGuardian.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<SatelliteResourceLanguages>en;ru;de;es;fr;it;ja;ko;pt-BR;zh-Hans;zh-Hant</SatelliteResourceLanguages>
<ApplicationManifest>app.manifest</ApplicationManifest>
<ApplicationIcon>Assets\256.ico</ApplicationIcon>
<AssemblyVersion>1.4.0.0</AssemblyVersion>
<AssemblyVersion>1.4.1.0</AssemblyVersion>
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion RemnantSaveGuardian/UpdateCheck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static async void CheckForNewVersion()
{
InstalledVersion = localVersion,
CurrentVersion = remoteVersion.ToString(),
DownloadURL = $"https://github.com/Razzmatazzz/RemnantSaveGuardian/releases/download/{remoteVersion}/RemnantSaveGuardian_{remoteVersion}.0.zip"
DownloadURL = latestRelease["assets"].AsArray()[0]["browser_download_url"].ToString()
};
messageBox.Close();
AutoUpdater.DownloadUpdate(args);
Expand Down

0 comments on commit c0155bd

Please sign in to comment.