Skip to content

Commit

Permalink
fix release download link
Browse files Browse the repository at this point in the history
  • Loading branch information
fischer-hub committed Oct 16, 2024
1 parent f9fecb1 commit 3cc4fef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,6 @@ def update_game():
return

try:
urllib.request.urlretrieve(f"https://github.com/fischer-hub/vigilant-funicular/releases/latest/download/vigilant-{osname}", "vigilant")
urllib.request.urlretrieve(f"https://github.com/fischer-hub/vigilant-funicular/releases/latest/download/vigilant-{osname}-latest", "vigilant")
except Exception as e:
print(f"Failed to update game executable, download returned: {e}.")
print(f"Failed to update game executable, download returned: {e}\nFrom url: https://github.com/fischer-hub/vigilant-funicular/releases/latest/download/vigilant-{osname}-latest")

0 comments on commit 3cc4fef

Please sign in to comment.