From 6cb42e79508ca427f08e17af6084b1dd87f318cd Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Tue, 12 May 2015 13:42:46 +0300 Subject: [PATCH] added HTML support --- .../instantlauncher/FileAssociationManager.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/eu/svjatoslav/instantlauncher/FileAssociationManager.java b/src/main/java/eu/svjatoslav/instantlauncher/FileAssociationManager.java index b4ca9ab..dbe65f7 100755 --- a/src/main/java/eu/svjatoslav/instantlauncher/FileAssociationManager.java +++ b/src/main/java/eu/svjatoslav/instantlauncher/FileAssociationManager.java @@ -60,7 +60,7 @@ public class FileAssociationManager { private static final String FILE_INDICATOR = ""; private static final String[] TEXT_EDITOR_PATTERN = new String[] { - "emacsclient", "-a", "\"\"", "-c", FILE_INDICATOR }; + "emacsclient", "-a", "\"\"", "-c", FILE_INDICATOR }; private static final String DOCUMENT_EDITOR = "lowriter"; @@ -136,6 +136,12 @@ public class FileAssociationManager { extensionToApplication.put("out", new String[] { "glogg", FILE_INDICATOR }); + extensionToApplication.put("html", new String[] { "google-chrome", + FILE_INDICATOR }); + + extensionToApplication.put("htm", new String[] { "google-chrome", + FILE_INDICATOR }); + } } -- 2.20.1