mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 22:41:18 +12:00
Check whether portable is directory to avoid conflict with portable sandboxing framework
This commit is contained in:
parent
dd0af0a56f
commit
3fae0350fe
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ void CemuApp::DeterminePaths(std::set<fs::path>& 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue