mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-30 11:41:50 +01:00
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:
parent
4f79dfde6d
commit
e803e779e7
@ -31,6 +31,7 @@ exec >> ${logged_in_home}/Downloads/NonSteamLaunchers-install.log 2>&1
|
|||||||
# Version number (major.minor)
|
# Version number (major.minor)
|
||||||
version=v2.99
|
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 repo releases via GitHub API then display current stable version
|
||||||
check_for_updates() {
|
check_for_updates() {
|
||||||
# Set the URL to the GitHub API for the repository
|
# Set the URL to the GitHub API for the repository
|
||||||
|
Loading…
Reference in New Issue
Block a user