added possibility to run *.desktop files
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Wed, 19 Jun 2013 15:14:37 +0000 (18:14 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Wed, 19 Jun 2013 15:14:37 +0000 (18:14 +0300)
src/main/java/eu/svjatoslav/instantlauncher/FileAssociationManager.java

index bb08388..ac0d738 100755 (executable)
@@ -90,6 +90,8 @@ public class FileAssociationManager {
         extensionToApplication.put("docx", new String[] { DOCUMENT_EDITOR, FILE_INDICATOR });
         extensionToApplication.put("doc", new String[] { DOCUMENT_EDITOR, FILE_INDICATOR });
 
+        extensionToApplication.put("desktop", new String[] { "run-desktop", FILE_INDICATOR });
+
     }
 
 }