Merge branch 'release/1.10.x'

This commit is contained in:
rdb 2022-12-01 12:59:27 +01:00
commit 0421ee31b3
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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