We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 479f900 commit 141e0a0Copy full SHA for 141e0a0
src/main/java/de/doubleslash/keeptime/common/BrowserHelper.java
@@ -14,7 +14,7 @@ public static void openURL(final String url) {
14
final Runtime rt = Runtime.getRuntime();
15
if (System.getProperty("os.name").contains("Windows")) {
16
try {
17
- rt.exec("rundll32 url.dll,FileProtocolHandler " + url);
+ rt.exec("rundll32 start " + url);
18
} catch (final Exception e) {
19
LOG.error(e.getMessage());
20
}
@@ -32,4 +32,9 @@ public static void openURL(final String url) {
32
33
34
35
+
36
+ public static void openFileInEditor(final String path) {
37
+ final Runtime rt = Runtime.getRuntime();
38
39
+ }
40
0 commit comments