Attempt flatpak-spawn if permission is granted

This commit is contained in:
Patrick Nicolas
2024-11-07 19:41:35 +01:00
parent 19a399640a
commit 7983745317
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ std::unique_ptr<QProcess> escape_sandbox(const std::string & executable, Args &&
auto process = std::make_unique<QProcess>();
QStringList args;
if (wivrn::is_flatpak())
if (wivrn::flatpak_key("org.freedesktop.Flatpak") == "talk")
{
process->setProgram("flatpak-spawn");
args.push_back("--host");