runelite / launcher

Launcher for RuneLite
https://runelite.net
BSD 2-Clause "Simplified" License
61 stars 94 forks source link

Package info URL #119

Closed Adamcake closed 8 months ago

Adamcake commented 8 months ago

Can runelite please provide a way to programmatically find the latest launcher version, a permalink to the download location, and a file hash. All that information is already found here but is finnicky for a computer program to parse.

Ideally the info would come from a URL on runelite.net which you can update automatically as part of your build/release process, the contents right now would be:

{
 "version": "2.6.9",
 "sha256": "f7588106f897337b4937f8d181c3b352e4c0afd56b2a75b9e6e62b356ede0794",
 "url": "https://github.com/runelite/launcher/releases/download/2.6.9/RuneLite.jar"
}

It doesn't necessarily have to be JSON but that's usually the go-to for this type of thing.

The purpose of this would be for direct integration into package managers and game launchers. For example, flatpak's net.runelite.Runelite, which is currently four months out of date, could be kept up-to-date automatically using flatpak-external-data-checker.

abextm commented 8 months ago

https://docs.github.com/en/free-pro-team@latest/rest/releases/releases?apiVersion=2022-11-28#get-the-latest-release

https://api.github.com/repos/runelite/launcher/releases/latest

The most recent couple releases have had little to no changes that affect the jar launcher that the flatpak uses, so they don't need to be updated

Adamcake commented 8 months ago

Oh this will do perfectly. Thanks

On Wed, 1 Nov 2023, 11:30 Abex, @.***> wrote:

Closed #119 https://github.com/runelite/launcher/issues/119 as completed.

— Reply to this email directly, view it on GitHub https://github.com/runelite/launcher/issues/119#event-10831315274, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHG6BIH6AD754TZBXQXHOPTYCIXDXAVCNFSM6AAAAAA6ZEHKJKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQHAZTCMZRGUZDONA . You are receiving this because you authored the thread.Message ID: @.***>