mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 23:17:25 +01:00
14 lines
No EOL
332 B
Text
14 lines
No EOL
332 B
Text
function file_copy_override(src, dest) {
|
|
if(file_exists(dest)) file_delete(dest);
|
|
file_copy(src, dest);
|
|
}
|
|
|
|
function filepath_resolve(path) {
|
|
gml_pragma("forceinline");
|
|
var _path = path;
|
|
|
|
_path = string_replace_all(_path, "%DIR%/", DIRECTORY);
|
|
_path = string_replace_all(_path, "%APP%/", working_directory);
|
|
|
|
return _path;
|
|
} |