feat: a PC that had Gaming on NVIDIA on gets the SteamOS conversion ticked, as an update

This commit is contained in:
theupriser committed 2026-10-13 18:28:43 +02:00
1 parent 2ae3c4f4b3
commit 1c302b836b
3 files changed
+12 -1

No files matched your search

+6
View File
@@ -41,6 +41,12 @@ nvidia_present() {
# A PC that has this on keeps it until the conversion is turned on, which calls nvidia_swap_out.
nvidia_available() { return 1; }
nvidia_migration_pending() {
# "Gaming on NVIDIA" is on (set up before 2.11.2) and the SteamOS conversion that replaces it isn't: the menu ticks the
# conversion and shows it as an update, so a normal run moves the PC over (nvidia_swap_out in gsn_enable).
nvidia_present && nvidia_status && ! gaming_status 2>/dev/null
}
nvidia_swap_out() {
# The conversion takes over: Steam no longer starts by itself on the desktop at login (both would start it). Steam, the
# packages and the NVIDIA settings stay: the conversion needs them too. The state stays for the conversion's own disable.