Skip to content

Commit

Permalink
Add path modifications for appimage based linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
oblivioncth committed Oct 15, 2023
1 parent 3f5a5ab commit 16b727c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/src/kernel/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,11 @@ void Core::attachFlashpoint(std::unique_ptr<Fp::Install> 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);
Expand Down

0 comments on commit 16b727c

Please sign in to comment.