Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved update checker #9

Open
viral32111 opened this issue Apr 11, 2020 · 0 comments
Open

Improved update checker #9

viral32111 opened this issue Apr 11, 2020 · 0 comments
Assignees
Labels
Enhancement An idea for a new feature or a modification to an existing feature. Low Priority This issue isn't of much importance.

Comments

@viral32111
Copy link
Owner

Proposed changes

  • Add an improved update checker that checks to see if you're using the latest release, not the latest repository commit.

Explanation

There should be some sort of global variable that holds the current version of the addon, then when the server finishes loading or when ISteamHTTP is available, a HTTP request to the GitHub API should be used to check the tag of the most recent release, then compare that against the local global version variable. If it differs, then inform them through a server console message & in-game on the spawnmenu section that they're not using the most recent version.

@viral32111 viral32111 added Enhancement An idea for a new feature or a modification to an existing feature. Low Priority This issue isn't of much importance. labels Apr 11, 2020
@viral32111 viral32111 self-assigned this Apr 11, 2020
@viral32111 viral32111 added this to Planned in New Features Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement An idea for a new feature or a modification to an existing feature. Low Priority This issue isn't of much importance.
Projects
New Features
  
Planned
Development

No branches or pull requests

1 participant