mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
fix: update check survives a non-version release tag; quiet-step log in log/
This commit is contained in:
1 parent
18e06797b3
commit
095e7bca5c
5 files changed
+9
-7
No files matched your search
@@ -51,8 +51,9 @@ def latest():
|
||||
|
||||
def pending(new):
|
||||
# Newer than the last Steamify that ran here, and not skipped.
|
||||
seen = version(state("seen") or "0")
|
||||
return seen is not None and version(new) > seen and new != state("skipped")
|
||||
seen, found = version(state("seen") or "0"), version(new)
|
||||
# A tag that isn't a plain version (a pre-release name) is never offered.
|
||||
return seen is not None and found is not None and found > seen and new != state("skipped")
|
||||
|
||||
|
||||
def desktop():
|
||||
|
||||
Reference in new issue
Block a user