JAL-4409 extra schemes now opening correctly in macos
authorBen Soares <b.soares@dundee.ac.uk>
Wed, 15 May 2024 16:59:45 +0000 (17:59 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Wed, 15 May 2024 16:59:45 +0000 (17:59 +0100)
getdown/lib/getdown-core.jar
getdown/lib/getdown-launcher-local.jar
getdown/lib/getdown-launcher.jar
getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/Application.java
j11lib/getdown-core.jar
j8lib/getdown-core.jar

index 2a4159a..a934f39 100644 (file)
Binary files a/getdown/lib/getdown-core.jar and b/getdown/lib/getdown-core.jar differ
index ad2e6dc..6e97e11 100644 (file)
Binary files a/getdown/lib/getdown-launcher-local.jar and b/getdown/lib/getdown-launcher-local.jar differ
index 09c29ae..f49ff16 100644 (file)
Binary files a/getdown/lib/getdown-launcher.jar and b/getdown/lib/getdown-launcher.jar differ
index 3141249..d23735d 100644 (file)
@@ -1969,7 +1969,7 @@ public class Application
         for (int i = 0; i < filenames.length; i++) {
           String filename = filenames[i];
           // skip any other locator files in a multiple file list
-          if (filename.startsWith("jalview://") || filename.startsWith("jalviews://")) {
+          if (HttpUtils.isJalviewSchemeUri(filename)) {
             setJalviewUri(filename);
           } else if (! filename.toLowerCase(Locale.ROOT).endsWith("."+Application.LOCATOR_FILE_EXTENSION)) {
             addStartupFile(filename);
index 2a4159a..a934f39 100644 (file)
Binary files a/j11lib/getdown-core.jar and b/j11lib/getdown-core.jar differ
index 2a4159a..a934f39 100644 (file)
Binary files a/j8lib/getdown-core.jar and b/j8lib/getdown-core.jar differ