mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-26 22:53:16 -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") {
|
||||
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
|
||||
|
||||
|
@ -3,8 +3,8 @@ Name=Panda3D Model Viewer
|
||||
GenericName=Model Viewer
|
||||
Comment=View Panda3D model files
|
||||
TryExec=pview
|
||||
Exec=pview %U
|
||||
StartupNotify=true
|
||||
Exec=pview %F
|
||||
StartupNotify=false
|
||||
NoDisplay=true
|
||||
Terminal=true
|
||||
Type=Application
|
||||
|
Loading…
x
Reference in New Issue
Block a user