pidof: Add wine to all found FEX instances as well

This commit is contained in:
Ryan Houdek committed 2026-01-04 17:28:59 -08:00
1 parent 3005abc3aa
commit 7eca40f093
1 file changed
+6
+6
View File
@@ -328,6 +328,12 @@ int main(int argc, char** argv) {
continue;
}
// If matching all "FEX" instances then add arm64ec/wow64 FEX to the matched list.
if (ProgramArg != -1 && Config::AllFEX) {
MatchedPIDs.emplace(pid.pid);
continue;
}
ProgramPair Arg = FindEmulatedWineArgument(ProgramArg, Args, IsWine);
bool Matched = false;
for (const auto& CompareProgram : Config::Programs) {