Add disk desktop icon to spec.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 6f6f3272a37859a5ae3906a2ebdbbd34dbee7034..467bb9a5000c088cfa69a20f2ef9ffff84a7e6f4 100644 (file)
--- a/cscript
+++ b/cscript
@@ -318,6 +318,9 @@ def make_spec(filename, version, target, options, requires=None):
     print('%{_datadir}/applications/dcpomatic2_kdm.desktop', file=f)
     print('%{_datadir}/applications/dcpomatic2_player.desktop', file=f)
     print('%{_datadir}/applications/dcpomatic2_playlist.desktop', file=f)
+    print('%{_datadir}/applications/dcpomatic2_playlist.desktop', file=f)
+    if os.path.exists(os.path.join(tools, "dcpomatic2_disk")):
+        print('%{_datadir}/applications/dcpomatic2_disk.desktop', file=f)
     print('%{_datadir}/dcpomatic2/dcpomatic2_server_small.png', file=f)
     print('%{_datadir}/dcpomatic2/select.png', file=f)
     print('%{_datadir}/dcpomatic2/sequence.png', file=f)