Fix the Mac CI with Silverblue (#591)

This commit is contained in:
Ana Hobden 2023-07-24 11:44:28 -07:00 committed by GitHub
parent e84fd2bed9
commit ff20fc04b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -207,6 +207,7 @@ impl BuiltinPlanner {
} }
} }
#[cfg(target_os = "linux")]
async fn detect_linux_distro() -> Result<Self, PlannerError> { async fn detect_linux_distro() -> Result<Self, PlannerError> {
let is_steam_deck = let is_steam_deck =
os_release::OsRelease::new().is_ok_and(|os_release| os_release.id == "steamos"); os_release::OsRelease::new().is_ok_and(|os_release| os_release.id == "steamos");