git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ecfa78
)
JAL-3233 Added isAMac check for -Xdock:icon addition to Launcher command. Added a...
author
Ben Soares
<bsoares@dundee.ac.uk>
Fri, 26 Apr 2019 10:59:34 +0000
(11:59 +0100)
committer
Ben Soares
<bsoares@dundee.ac.uk>
Fri, 26 Apr 2019 10:59:34 +0000
(11:59 +0100)
src/jalview/bin/Launcher.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Launcher.java
b/src/jalview/bin/Launcher.java
index
b595b4f
..
aec3acd
100644
(file)
--- a/
src/jalview/bin/Launcher.java
+++ b/
src/jalview/bin/Launcher.java
@@
-67,7
+67,7
@@
public class Launcher
}
}
- if (!dockIcon)
+ if (!dockIcon && isAMac)
{
command.add("-Xdock:icon=" + dockIconPath);
// -Xdock:name=... doesn't actually work :(
@@
-85,7
+85,8
@@
public class Launcher
try
{
builder.inheritIO();
- builder.start();
+ Process process = builder.start();
+ process.waitFor();
} catch (Exception e)
{
e.printStackTrace();