From f39ddbbd657e0e26109fa66e9850a6ea60f59ecc Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Wed, 19 Jun 2013 18:14:37 +0300 Subject: [PATCH] added possibility to run *.desktop files --- .../eu/svjatoslav/instantlauncher/FileAssociationManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/eu/svjatoslav/instantlauncher/FileAssociationManager.java b/src/main/java/eu/svjatoslav/instantlauncher/FileAssociationManager.java index bb08388..ac0d738 100755 --- a/src/main/java/eu/svjatoslav/instantlauncher/FileAssociationManager.java +++ b/src/main/java/eu/svjatoslav/instantlauncher/FileAssociationManager.java @@ -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 }); + } } -- 2.20.1