mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-14 07:58:26 +02:00
feat: the newest patched gamescope release first, the pinned one as the fallback, a newer release shows as an update
This commit is contained in:
1 parent
40ed1259f6
commit
9e66790bad
4 files changed
+114
-45
No files matched your search
@@ -116,6 +116,8 @@ feature_outdated() {
|
||||
# "Gaming on NVIDIA" is on: the SteamOS conversion replaces it, as an update of what the PC has (lib/nvidia.sh).
|
||||
[[ "$1" == gaming ]] && nvidia_migration_pending && return 0
|
||||
[[ "${CURRENT[$1]:-0}" == 1 ]] || return 1
|
||||
# NVIDIA: a newer patched gamescope is out (lib/gamescope-nvidia.sh): a normal run installs it.
|
||||
[[ "$1" == gaming ]] && nvidia_present && gsn_update_pending && return 0
|
||||
have="$(state_get features "$1" "$FEATURE_BASELINE")"
|
||||
[[ "$have" == off ]] && have="$FEATURE_BASELINE"
|
||||
want="${FEATURE_VERSION[$1]:-$FEATURE_BASELINE}"
|
||||
|
||||
Reference in new issue
Block a user