Skip to content

Commit

Permalink
minor updates to .desktop files
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Sep 5, 2016
1 parent 9f4b17b commit b405674
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions resources/powder.desktop
Expand Up @@ -2,9 +2,8 @@
Version=1.0
Encoding=UTF-8
Name=Powder Toy
GenericName=Physics sandbox game
Comment=Simulates air pressure and velocity, heat, gravity interactions between different substances.
Comment=Physics sandbox game
Exec=powder
Icon=powder
Type=Application
Categories=Game;Amusement;
Categories=Game;Simulation;
4 changes: 2 additions & 2 deletions src/client/Client.cpp
Expand Up @@ -384,7 +384,7 @@ bool Client::DoInstallation()
"Comment=Physics sandbox game\n"
"MimeType=x-scheme-handler/ptsave;\n"
"NoDisplay=true\n"
"Categories=Game\n";
"Categories=Game;Simulation\n";
std::stringstream protocolfiledata;
protocolfiledata << protocolfiledata_tmp << "Exec=" << filename <<" ptsave %u\nPath=" << pathname << "\n";
f = fopen("powdertoy-tpt-ptsave.desktop", "wb");
Expand All @@ -401,7 +401,7 @@ bool Client::DoInstallation()
"Comment=Physics sandbox game\n"
"MimeType=application/vnd.powdertoy.save;\n"
"NoDisplay=true\n"
"Categories=Game\n";
"Categories=Game;Simulation\n";
std::stringstream desktopfiledata;
desktopfiledata << desktopfiledata_tmp << "Exec=" << filename <<" open %f\nPath=" << pathname << "\n";
f = fopen("powdertoy-tpt.desktop", "wb");
Expand Down

0 comments on commit b405674

Please sign in to comment.