mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-12-05 00:02:36 -08:00
More accurate flatpak info parser
This commit is contained in:
1 parent
7983745317
commit
8400a03fde
7 files changed
+20
-8
No files matched your search
+1
-1
@@ -133,7 +133,7 @@ void display_child_status(int wstatus, const std::string & name)
|
||||
|
||||
static std::filesystem::path flatpak_app_path()
|
||||
{
|
||||
if (auto value = flatpak_key("app-path"))
|
||||
if (auto value = flatpak_key(flatpak::section::instance, "app-path"))
|
||||
{
|
||||
std::filesystem::path path = *value;
|
||||
while (path != "" and path != path.parent_path() and path.filename() != "io.github.wivrn.wivrn")
|
||||
|
||||
Reference in new issue
Block a user