Add version todo

Currently checks string vs. integer comparison. Leads to false positives (e.g., 2.99 is marked as older than 2.98)
This commit is contained in:
pythoninthegrass 2023-08-12 14:09:42 -05:00
parent 4f79dfde6d
commit e803e779e7

View File

@ -31,6 +31,7 @@ exec >> ${logged_in_home}/Downloads/NonSteamLaunchers-install.log 2>&1
# Version number (major.minor)
version=v2.99
# TODO: tighten logic to check whether major/minor version is up-to-date via `-eq`, `-lt`, or `-gt` operators
# Check repo releases via GitHub API then display current stable version
check_for_updates() {
# Set the URL to the GitHub API for the repository