minor updates to .desktop files

This commit is contained in:
jacob1 2016-09-04 20:17:35 -04:00
parent 9f4b17beff
commit b405674d3d
2 changed files with 4 additions and 5 deletions

View File

@ -2,9 +2,8 @@
Version=1.0 Version=1.0
Encoding=UTF-8 Encoding=UTF-8
Name=Powder Toy Name=Powder Toy
GenericName=Physics sandbox game Comment=Physics sandbox game
Comment=Simulates air pressure and velocity, heat, gravity interactions between different substances.
Exec=powder Exec=powder
Icon=powder Icon=powder
Type=Application Type=Application
Categories=Game;Amusement; Categories=Game;Simulation;

View File

@ -384,7 +384,7 @@ bool Client::DoInstallation()
"Comment=Physics sandbox game\n" "Comment=Physics sandbox game\n"
"MimeType=x-scheme-handler/ptsave;\n" "MimeType=x-scheme-handler/ptsave;\n"
"NoDisplay=true\n" "NoDisplay=true\n"
"Categories=Game\n"; "Categories=Game;Simulation\n";
std::stringstream protocolfiledata; std::stringstream protocolfiledata;
protocolfiledata << protocolfiledata_tmp << "Exec=" << filename <<" ptsave %u\nPath=" << pathname << "\n"; protocolfiledata << protocolfiledata_tmp << "Exec=" << filename <<" ptsave %u\nPath=" << pathname << "\n";
f = fopen("powdertoy-tpt-ptsave.desktop", "wb"); f = fopen("powdertoy-tpt-ptsave.desktop", "wb");
@ -401,7 +401,7 @@ bool Client::DoInstallation()
"Comment=Physics sandbox game\n" "Comment=Physics sandbox game\n"
"MimeType=application/vnd.powdertoy.save;\n" "MimeType=application/vnd.powdertoy.save;\n"
"NoDisplay=true\n" "NoDisplay=true\n"
"Categories=Game\n"; "Categories=Game;Simulation\n";
std::stringstream desktopfiledata; std::stringstream desktopfiledata;
desktopfiledata << desktopfiledata_tmp << "Exec=" << filename <<" open %f\nPath=" << pathname << "\n"; desktopfiledata << desktopfiledata_tmp << "Exec=" << filename <<" open %f\nPath=" << pathname << "\n";
f = fopen("powdertoy-tpt.desktop", "wb"); f = fopen("powdertoy-tpt.desktop", "wb");