fix pipewire not properly checking if exists
This commit is contained in:
@@ -215,7 +215,7 @@ func CheckPipeWireAvailable(ctx context.Context) error {
|
||||
// Use a short timeout to avoid hangs on misconfigured systems.
|
||||
checkCtx, cancel := context.WithTimeout(ctx, 2*time.Second)
|
||||
defer cancel()
|
||||
cmd := exec.CommandContext(checkCtx, "pw-cli", "info")
|
||||
cmd := exec.CommandContext(checkCtx, "pw-cli", "info", "all")
|
||||
if err := cmd.Run(); err != nil {
|
||||
return fmt.Errorf("PipeWire not running or accessible: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user