mirror of https://github.com/godotengine/godot
Windows: Normalize slashes in return of `OS.get_temp_dir()`
This commit is contained in:
parent
ee4acfbfbf
commit
b38103e95d
|
|
@ -2168,7 +2168,7 @@ String OS_Windows::get_temp_path() const {
|
||||||
temp_path_cache = get_config_path();
|
temp_path_cache = get_config_path();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return temp_path_cache;
|
return temp_path_cache.replace("\\", "/").trim_suffix("/");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get properly capitalized engine name for system paths
|
// Get properly capitalized engine name for system paths
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue