diff options
| author | est31 | 2015-11-30 02:35:59 +0100 |
|---|---|---|
| committer | est31 | 2015-11-30 02:35:59 +0100 |
| commit | e1d02e4831fdec372771956aa2ac70954ab3fe7b (patch) | |
| tree | a95d60ae6481cd96a53af896710e43429187353a /drivers/unix/os_unix.cpp | |
| parent | 15f6d3cebf9e8c9288132454816f1152e16dde36 (diff) | |
| download | godot-e1d02e4831fdec372771956aa2ac70954ab3fe7b.tar.gz godot-e1d02e4831fdec372771956aa2ac70954ab3fe7b.tar.zst godot-e1d02e4831fdec372771956aa2ac70954ab3fe7b.zip | |
Diffstat (limited to 'drivers/unix/os_unix.cpp')
| -rw-r--r-- | drivers/unix/os_unix.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp index fd8c26f6d..94a7b03f4 100644 --- a/drivers/unix/os_unix.cpp +++ b/drivers/unix/os_unix.cpp @@ -477,6 +477,14 @@ String OS_Unix::get_data_dir() const { } +String OS_Unix::get_installed_templates_path() const { + String p=get_global_settings_path(); + if (p!="") + return p+"/templates/"; + else + return ""; +} + String OS_Unix::get_executable_path() const { #ifdef __linux__ |
