From 3fae0350fe03002b095cc6aa78de36fe72f1739c Mon Sep 17 00:00:00 2001 From: heavysink Date: Mon, 9 Dec 2024 12:45:10 -0600 Subject: [PATCH] Check whether portable is directory to avoid conflict with portable sandboxing framework --- src/gui/CemuApp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/CemuApp.cpp b/src/gui/CemuApp.cpp index c4b1f4e4..79c3a81b 100644 --- a/src/gui/CemuApp.cpp +++ b/src/gui/CemuApp.cpp @@ -88,7 +88,7 @@ void CemuApp::DeterminePaths(std::set& failedWriteAccess) // for Windo fs::path exePath(wxHelper::MakeFSPath(standardPaths.GetExecutablePath())); fs::path portablePath = exePath.parent_path() / "portable"; data_path = exePath.parent_path(); // the data path is always the same as the exe path - if (fs::exists(portablePath, ec)) + if (fs::is_directory(portablePath, ec)) { isPortable = true; user_data_path = config_path = cache_path = portablePath;