blob: 09d85eb19fdfddcbe481922401fb81df99267259 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- netx/net/sourceforge/jnlp/util/XDesktopEntry.java.orig 2021-05-17 09:24:37 UTC
+++ netx/net/sourceforge/jnlp/util/XDesktopEntry.java
@@ -86,7 +86,7 @@ import net.sourceforge.jnlp.security.dialogresults.Acc
public class XDesktopEntry implements GenericDesktopEntry {
- public static final String JAVA_ICON_NAME = "javaws";
+ public static final String JAVA_ICON_NAME = "itweb-javaws";
private JNLPFile file = null;
private int iconSize = -1;
@@ -219,12 +219,12 @@ public class XDesktopEntry implements GenericDesktopEn
if (exec != null) {
return exec;
}
- String pathResult = findOnPath(new String[]{"javaws", System.getProperty("icedtea-web.bin.name")});
+ String pathResult = findOnPath(new String[]{"itweb-javaws", System.getProperty("icedtea-web.bin.name")});
if (pathResult != null) {
return pathResult;
}
- return "javaws";
+ return "itweb-javaws";
}
|