mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 23:34:57 -04:00
Merge branch 'release/1.10.x'
This commit is contained in:
commit
0421ee31b3
@ -418,6 +418,10 @@ ns_get_environment_variable(const string &var) const {
|
|||||||
} else if (var == "XDG_DATA_HOME") {
|
} else if (var == "XDG_DATA_HOME") {
|
||||||
Filename home_dir = Filename::get_home_directory();
|
Filename home_dir = Filename::get_home_directory();
|
||||||
return home_dir.get_fullpath() + "/.local/share";
|
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
|
#endif // _WIN32
|
||||||
|
|
||||||
|
@ -3,8 +3,8 @@ Name=Panda3D Model Viewer
|
|||||||
GenericName=Model Viewer
|
GenericName=Model Viewer
|
||||||
Comment=View Panda3D model files
|
Comment=View Panda3D model files
|
||||||
TryExec=pview
|
TryExec=pview
|
||||||
Exec=pview %U
|
Exec=pview %F
|
||||||
StartupNotify=true
|
StartupNotify=false
|
||||||
NoDisplay=true
|
NoDisplay=true
|
||||||
Terminal=true
|
Terminal=true
|
||||||
Type=Application
|
Type=Application
|
||||||
|
Loading…
x
Reference in New Issue
Block a user