Removed some unnecessary log output when locating emulators when running as a Flatpak.

This commit is contained in:
Leon Styhre 2022-04-27 18:57:17 +02:00
parent 37aa3556d0
commit 2f80d1e578

View file

@ -276,7 +276,7 @@ namespace Utils
for (auto it = pathList.cbegin(); it != pathList.cend(); ++it) {
Utils::Platform::runSystemCommand("flatpak-spawn --host which " + *it + "/" +
executable + " > " + tempFile);
executable + " > " + tempFile + " 2>/dev/null");
std::ifstream tempFileStream;
tempFileStream.open(tempFile);
getline(tempFileStream, emulatorPath);