Merge pull request #43 from theupriser/bugfix/variant-version

fix: Steam's OS Variant shows Steamify's version
This commit is contained in:
theupriser authored and GitHub committed 2026-09-28 19:22:31 +02:00
commit 3a58c72d16
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -314,7 +314,7 @@ gamescope and the Plasma desktop. Primary target: the Valve Steam Machine
- What Steam's System settings show (SteamOS conversion, 2.9.0): the OS name
stays CachyOS's everywhere (legal clarity; Steam reads `lsb_release -d`,
not touched). `/etc/os-release` gets only `VARIANT="Steamify <version>"`,
`VARIANT_ID` and `VERSION_CODENAME=steamos-X.Y` (no `VERSION_ID`: KDE's About
`VARIANT_ID=steamify-<version>` (what Steam shows as OS Variant) and `VERSION_CODENAME=steamos-X.Y` (no `VERSION_ID`: KDE's About
this System shows it after the name, "CachyOS Linux 2.9.0") (Valve's
newest jupiter repo), refreshed by `os_version_refresh` after every run that
changes something; a pacman hook (`zz-steamify-os-release`) runs after
+2 -1
View File
@@ -8,7 +8,8 @@ one per merged pull request.
## 2.9.0 - 2026-09-28
- `d30d505` **chore: Version 2.9.0**
- **fix: No VERSION_ID in os-release: About this System said "CachyOS Linux 2.9.0"; the version is in VARIANT ("Steamify 2.9.0")**
- **fix: Steam's OS Variant shows Steamify's version (VARIANT_ID=steamify-2.9.0; Steam shows VARIANT_ID, not VARIANT)**
- `44bfe07` **fix: No VERSION_ID in os-release: About this System said "CachyOS Linux 2.9.0"; the version is in VARIANT ("Steamify 2.9.0")**
- `435f69c` **feat: Steam's System settings: the OS name stays CachyOS (no renaming, also not in About this System), Steamify <version> as the variant, the SteamOS release it follows as the codename (steamos-3.9)**
- `ce71b34` **feat: Steam's System settings and About this System like on SteamOS: OS name "CachyOS with Steamify" (lsb-release, kept through CachyOS updates by a pacman hook), Steamify as OS variant and version (os-release VARIANT/VERSION_ID; NAME/PRETTY_NAME stay CachyOS's for limine, TARGET_OS_NAME pinned), "CachyOS Linux with Steamify" in About this System; on a Steam Machine the serial number and Steam's Wi-Fi backend setting (existing installs get it as an update)**
- `07a94cd` **fix(ui): The progress screen's ✓ and ! stand upright: only a dot on the circle spins while a step runs (they kept the spinner's last angle)**
+2 -1
View File
@@ -7,6 +7,7 @@
# PRETTY_NAME are never touched: limine-snapper-sync finds the boot entries by
# the OS name. The zz-steamify-os-release hook runs this after cachyos-hooks.
sed -i -e '/^VARIANT=/d' -e '/^VARIANT_ID=/d' -e '/^VERSION_ID=/d' -e '/^VERSION_CODENAME=/d' /etc/os-release
printf '%s\n' 'VARIANT="Steamify @VERSION@"' 'VARIANT_ID=steamify' >> /etc/os-release
# Steam shows VARIANT_ID as the OS Variant: the version goes in there too.
printf '%s\n' 'VARIANT="Steamify @VERSION@"' 'VARIANT_ID=steamify-@VERSION@' >> /etc/os-release
[ -n "@CODENAME@" ] && echo 'VERSION_CODENAME=@CODENAME@' >> /etc/os-release
exit 0