git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3247 JAL-3254 Fixed file association launch behaviour in getdown in Windows
[jalview.git]
/
getdown
/
src
/
getdown
/
launcher
/
src
/
main
/
java
/
com
/
threerings
/
getdown
/
launcher
/
Getdown.java
diff --git
a/getdown/src/getdown/launcher/src/main/java/com/threerings/getdown/launcher/Getdown.java
b/getdown/src/getdown/launcher/src/main/java/com/threerings/getdown/launcher/Getdown.java
index
f87382a
..
33f97e8
100644
(file)
--- a/
getdown/src/getdown/launcher/src/main/java/com/threerings/getdown/launcher/Getdown.java
+++ b/
getdown/src/getdown/launcher/src/main/java/com/threerings/getdown/launcher/Getdown.java
@@
-1043,7
+1043,7
@@
public abstract class Getdown extends Thread
if (p != null && p.length() > 0) {
String[] filenames;
if (p.startsWith(q) && p.endsWith(q)) {
if (p != null && p.length() > 0) {
String[] filenames;
if (p.startsWith(q) && p.endsWith(q)) {
- filenames = p.substring(1,p.length()-1).split("\" \"");
+ filenames = p.substring(q.length(),p.length()-q.length()).split(q+" "+q);
} else {
filenames = new String[]{p};
}
} else {
filenames = new String[]{p};
}
@@
-1056,7
+1056,6
@@
public abstract class Getdown extends Thread
}
// jvl files
if (_app.locatorFileExtension.equals(ext.toLowerCase())) {
}
// jvl files
if (_app.locatorFileExtension.equals(ext.toLowerCase())) {
- // Do something special with this here
File f = new File(filename);
if (f.exists()) {
String appbase = null;
File f = new File(filename);
if (f.exists()) {
String appbase = null;