Detergent13 / tft-bot

Automate Teamfight Tactics (TFT) for token/mission farming. Updated for Set 11!
GNU Affero General Public License v3.0
81 stars 45 forks source link

Enhancement: Check for new version on the github #118

Open RomeoAlphaEkko opened 1 year ago

RomeoAlphaEkko commented 1 year ago

As an Idea, while there are no frequent updates, one could think about letting the script check the github when launching if there is a newer version, so the users dont have to manually check but get alerted by the script itself.

Detergent13 commented 1 year ago

I like this, although I'm not sure how to implement. I'm sure GitHub has a great way of querying the current version of a repository somewhere though. Maybe an action to increment a version.txt with each push?

RomeoAlphaEkko commented 1 year ago

i saw something in another program

https://github.com/LeagueOfPoro/CapsuleFarmerEvolved/blob/769dc6b62a846999b91f04f96d76f5cccf5c585c/src/Logger.py#L10 and

https://github.com/LeagueOfPoro/CapsuleFarmerEvolved/blob/769dc6b62a846999b91f04f96d76f5cccf5c585c/src/VersionManager.py

but i think they run it as releases