More accurate flatpak info parser

This commit is contained in:
Patrick Nicolas
2024-11-07 19:41:35 +01:00
parent 7983745317
commit 8400a03fde
7 changed files with 20 additions and 8 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ std::string read_vr_manifest()
std::filesystem::path vrmanifest = std::string{home ? home : ""} + "/.steam/steam/config/steamapps.vrmanifest";
if (wivrn::flatpak_key("org.freedesktop.Flatpak") == "talk")
if (wivrn::flatpak_key(wivrn::flatpak::section::session_bus_policy, "org.freedesktop.Flatpak") == "talk")
{
QProcess flatpak_spawn;
flatpak_spawn.start("flatpak-spawn", {"--host", "cat", QString::fromStdString(vrmanifest)});