diff --git a/support/src/utils/path.cpp b/support/src/utils/path.cpp index a8caf99a..bd3e8a41 100644 --- a/support/src/utils/path.cpp +++ b/support/src/utils/path.cpp @@ -32,7 +32,9 @@ namespace { #if defined(_WIN32) if (repertory::utils::string::contains(path, "~\\")) { repertory::utils::string::replace(path, "~\\", "%USERPROFILE%\\"); - } else if (repertory::utils::string::contains(path, "~/")) { + } + + if (repertory::utils::string::contains(path, "~/")) { repertory::utils::string::replace(path, "~/", "%USERPROFILE%\\"); }