diff --git a/src/gui/CemuApp.cpp b/src/gui/CemuApp.cpp index d8abdbe846..5735e9617c 100644 --- a/src/gui/CemuApp.cpp +++ b/src/gui/CemuApp.cpp @@ -124,7 +124,11 @@ void CemuApp::DeterminePaths(std::set& failedWriteAccess) // for Linux // GetExecutablePath returns the AppImage's temporary mount location wxString appImagePath; if (wxGetEnv(("APPIMAGE"), &appImagePath)) + { exePath = wxHelper::MakeFSPath(appImagePath); + portablePath = exePath.parent_path() / "portable"; + printf("AppImage-portablePath: %s\n", portablePath.string().c_str()); + } printf("appImagePath: %s\n", appImagePath.ToStdString().c_str()); printf("standardPaths.GetDataDir(): %s\n", standardPaths.GetDataDir().ToStdString().c_str()); if (fs::exists(portablePath, ec))