mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-26 14:43:50 -04:00
dtoolutil: Add XDG_STATE_HOME on Linux
This commit is contained in:
parent
f9ebca2bec
commit
20459118e2
@ -363,6 +363,10 @@ ns_get_environment_variable(const string &var) const {
|
||||
} else if (var == "XDG_DATA_HOME") {
|
||||
Filename home_dir = Filename::get_home_directory();
|
||||
return home_dir.get_fullpath() + "/.local/share";
|
||||
|
||||
} else if (var == "XDG_STATE_HOME") {
|
||||
Filename home_dir = Filename::get_home_directory();
|
||||
return home_dir.get_fullpath() + "/.local/state";
|
||||
}
|
||||
#endif // _WIN32
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user