Skip to content

Commit 295a1dd

Browse files
committed
Merge pull request #102067 from Eddy-Rogers/102008-TempDirSlashes
Windows: Normalize slashes in return of `OS.get_temp_dir()`
2 parents 4a7ce60 + b38103e commit 295a1dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/windows/os_windows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2168,7 +2168,7 @@ String OS_Windows::get_temp_path() const {
21682168
temp_path_cache = get_config_path();
21692169
}
21702170
}
2171-
return temp_path_cache;
2171+
return temp_path_cache.replace("\\", "/").trim_suffix("/");
21722172
}
21732173

21742174
// Get properly capitalized engine name for system paths

0 commit comments

Comments
 (0)