update command to use flatpak-spawn

This commit is contained in:
2022-07-17 18:26:20 +02:00
parent 1ec3c7803e
commit eaed5b6117

View File

@@ -133,7 +133,9 @@ impl ToolbxContainer {
} }
pub fn update_status(&mut self) -> Result<(), ToolbxError> { pub fn update_status(&mut self) -> Result<(), ToolbxError> {
let output = Command::new("podman") let output = Command::new("flatpak-spawn")
.arg("--host")
.arg("podman")
.arg("container") .arg("container")
.arg("inspect") .arg("inspect")
.arg(self.name.clone()) .arg(self.name.clone())