15 lines
423 B
C++
15 lines
423 B
C++
#include "file.hpp"
|
|
|
|
#include "string_utils.hpp"
|
|
|
|
void prism::set_domain_path(const prism::domain domain, const prism::path path) {
|
|
#ifdef PLATFORM_MACOS
|
|
domain_data[(int)domain] = replace_substring(path.string(), "{resource_dir}/", "../Resources/");
|
|
#else
|
|
domain_data[(int)domain] = replace_substring(path.string(), "{resource_dir}/", "");
|
|
#endif
|
|
}
|
|
|
|
prism::path prism::get_writeable_directory() {
|
|
return "";
|
|
}
|