From de00e1d87c35dd7c3568ea004d6e5eec95bb8129 Mon Sep 17 00:00:00 2001 From: Seraphima Zykova Date: Thu, 5 Sep 2024 20:50:17 +0300 Subject: [PATCH] [Workspaces]Discord and Steam fixes - follow up (#34640) --- .../Workspaces/WorkspacesSnapshotTool/SnapshotUtils.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/Workspaces/WorkspacesSnapshotTool/SnapshotUtils.cpp b/src/modules/Workspaces/WorkspacesSnapshotTool/SnapshotUtils.cpp index 6140cc3748..54f603dbc8 100644 --- a/src/modules/Workspaces/WorkspacesSnapshotTool/SnapshotUtils.cpp +++ b/src/modules/Workspaces/WorkspacesSnapshotTool/SnapshotUtils.cpp @@ -281,6 +281,8 @@ namespace SnapshotUtils Logger::info(L"Installed parent app not found: {}", processPath); continue; } + + processPath = parentProcessPath; } else { @@ -292,7 +294,7 @@ namespace SnapshotUtils WorkspacesData::WorkspacesProject::Application app{ .name = data.value().name, .title = title, - .path = data.value().installPath, + .path = processPath, .packageFullName = data.value().packageFullName, .appUserModelId = data.value().appUserModelId, .commandLineArgs = L"", // GetCommandLineArgs(pid, wbemHelper),