Add game category to generated Linux shortcuts
Signed-off-by: Hazel <hazel@theopensource.company>
This commit is contained in:
parent
ca4b58d5d7
commit
e66c3b9419
@ -872,6 +872,8 @@ bool createShortcut(QString destination, QString target, QStringList args, QStri
|
||||
<< "\n";
|
||||
stream << "Type=Application"
|
||||
<< "\n";
|
||||
stream << "Categories=Game"
|
||||
<< "\n";
|
||||
stream << "Exec=\"" << target.toLocal8Bit() << "\"" << argstring.toLocal8Bit() << "\n";
|
||||
stream << "Name=" << name.toLocal8Bit() << "\n";
|
||||
if (!icon.isEmpty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user