Skip to content

Commit 1201cec

Browse files
committed
launch: fix on linux systems without flatpak
1 parent 1da3548 commit 1201cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/src/commands/launch/platforms.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub fn linux(args: &[String]) -> Result<Child, Error> {
2828
.arg("list")
2929
.arg("--app")
3030
.output()
31-
.map(|o| String::from_utf8_lossy(&o.stdout).contains("com.valvesoftware.Steam"))?;
31+
.map_or_else(|_| false, |o| String::from_utf8_lossy(&o.stdout).contains("com.valvesoftware.Steam"));
3232
let child = if flatpak {
3333
warn!(
3434
"A flatpak override will be created to grant Steam access to the .hemttout directory"

0 commit comments

Comments
 (0)