From 16b727c28d29a031686ae1a8d20778984a3950eb Mon Sep 17 00:00:00 2001 From: Christian Heimlich Date: Sun, 15 Oct 2023 17:44:21 -0400 Subject: [PATCH] Add path modifications for appimage based linux build --- app/src/kernel/core.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/kernel/core.cpp b/app/src/kernel/core.cpp index 6aade86..36d2cd9 100644 --- a/app/src/kernel/core.cpp +++ b/app/src/kernel/core.cpp @@ -337,6 +337,11 @@ void Core::attachFlashpoint(std::unique_ptr flashpointInstall) de.insert(u"FP_STARTUP_PATH"_s, winFpPath + u"\\FPSoftware"_s); de.insert(u"FP_BROWSER_PLUGINS"_s, winFpPath + u"\\FPSoftware\\BrowserPlugins"_s); de.insert(u"WINEPREFIX"_s, fpPath + u"/FPSoftware/Wine"_s); + + // Rootless/Steamdeck specific build path edits (won't affect the regular Linux build) + QString pathValue = de.value(u"PATH"_s); + pathValue.prepend(fpPath + u"/FPSoftware/FPWine/bin:"_s + fpPath + u"/FPSoftware/FPQemuPHP:"_s); + de.insert(u"PATH"_s, pathValue); #endif TExec::setDefaultProcessEnvironment(de);