mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
Added a sandbox breakout on game launch if running as Flatpak.
This commit is contained in:
parent
a98ba7a42d
commit
5d1e9cce7d
|
@ -1184,6 +1184,11 @@ void FileData::launchGame()
|
|||
getSourceFileData()->getSystem()->getFullName());
|
||||
int returnValue = 0;
|
||||
|
||||
#if defined(FLATPAK_BUILD)
|
||||
// Break out of the sandbox.
|
||||
command = "flatpak-spawn --host " + command;
|
||||
#endif
|
||||
|
||||
LOG(LogDebug) << "Raw emulator launch command:";
|
||||
LOG(LogDebug) << commandRaw;
|
||||
LOG(LogInfo) << "Expanded emulator launch command:";
|
||||
|
|
Loading…
Reference in a new issue