Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

API doesn't give a download link while builds are availble #43

Open
@Broxzier

Description

@Broxzier

The update script that I use on my Ubuntu server fetches the last download link from this API call: https://openrct2.org/altapi/?command=get-latest-download&flavourId=9&gitBranch=develop

Normally, it gives back an URL to the last develop download link, but now I get this response:

{
  "error": 1,
  "errorMessage": "No download available."
}

I suspect the reason for not giving back an URL is because a "newer" build is available for another platform, right now that's x86 ZIP and installer: https://openrct2.org/downloads/develop/v0.2.3-d730a76

"newer" is quoted, because the build was probably pushed later, but the build comes from a commit that is from before the the Linux build has finished: https://openrct2.org/downloads/develop/v0.2.3-68dc4d0, meaning that the Linux build is ahead, but doesn't show up under the "latest" build.

I suspect this is also what's causing the Launcher to fail to download updates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions