Attempt flatpak-spawn if permission is granted
This commit is contained in:
@@ -35,7 +35,7 @@ std::string read_vr_manifest()
|
||||
|
||||
std::filesystem::path vrmanifest = std::string{home ? home : ""} + "/.steam/steam/config/steamapps.vrmanifest";
|
||||
|
||||
if (wivrn::is_flatpak())
|
||||
if (wivrn::flatpak_key("org.freedesktop.Flatpak") == "talk")
|
||||
{
|
||||
QProcess flatpak_spawn;
|
||||
flatpak_spawn.start("flatpak-spawn", {"--host", "cat", QString::fromStdString(vrmanifest)});
|
||||
|
||||
Reference in New Issue
Block a user