mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-03-22 12:16:15 +00:00
Use correct repo url for self-updater (doesn't work yet, but its a step)
This commit is contained in:
@@ -201,7 +201,7 @@ class W3DHub
|
|||||||
def launcher_updater
|
def launcher_updater
|
||||||
@status_label.value = "Checking for Launcher updates..." # I18n.t(:"boot.checking_for_updates")
|
@status_label.value = "Checking for Launcher updates..." # I18n.t(:"boot.checking_for_updates")
|
||||||
|
|
||||||
Api.on_thread(:fetch, "https://api.github.com/repos/Inq8/CAmod/releases/latest") do |response|
|
Api.on_thread(:fetch, "https://api.github.com/repos/cyberarm/w3d_hub_linux_launcher/releases/latest") do |response|
|
||||||
if response.status == 200
|
if response.status == 200
|
||||||
hash = JSON.parse(response.body, symbolize_names: true)
|
hash = JSON.parse(response.body, symbolize_names: true)
|
||||||
available_version = hash[:tag_name].downcase.sub("v", "")
|
available_version = hash[:tag_name].downcase.sub("v", "")
|
||||||
|
|||||||
Reference in New Issue
Block a user