Add Categories tag to AppImage .desktop file. v2.13.51
authorCarl Hetherington <cth@carlh.net>
Fri, 21 Sep 2018 22:06:28 +0000 (23:06 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 21 Sep 2018 22:06:28 +0000 (23:06 +0100)
cscript

diff --git a/cscript b/cscript
index a42c950334374dc89355e74addaa73dd17aa7d1c..8dfb716e00b7a3fa2edd5c549dfff238ca7f5fe8 100644 (file)
--- a/cscript
+++ b/cscript
@@ -600,6 +600,7 @@ def make_appimage(target, nice_name, internal_name, version):
     with open('build/%s.AppDir/%s.desktop' % (nice_filename, internal_name), 'w') as f:
         print('[Desktop Entry]', file=f)
         print('Type=Application', file=f)
+        print('Categories=AudioVideo', file=f)
         print('Name=%s' % nice_name, file=f)
         print('Icon=%s' % internal_name, file=f)
     target.command('cp graphics/linux/256/%s.png build/%s.AppDir' % (internal_name, nice_filename))