From af9c67db0c998bbd6f0de1ab0af98f9e615e6029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 26 Nov 2017 19:00:53 +0100 Subject: Allow customizing user:// path (folder in OS::get_data_path()) This allows to specify any valid folder name (including with subfolders) to use as user:// on all platforms. The folder is constrained to the platform-specific OS::get_data_path() (typically what `XDG_DATA_HOME` resolves to). Fixes #13236. --- core/os/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/os/os.h') diff --git a/core/os/os.h b/core/os/os.h index d7a1512e39..c72696fe37 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -338,7 +338,7 @@ public: virtual String get_locale() const; - String get_safe_application_name() const; + String get_safe_dir_name(const String &p_dir_name, bool p_allow_dir_separator = false) const; virtual String get_godot_dir_name() const; virtual String get_data_path() const; -- cgit v1.2.3