JAL-4485 Path fix for macOS Application*s*
authorBen Soares <b.soares@dundee.ac.uk>
Tue, 5 Nov 2024 17:30:21 +0000 (17:30 +0000)
committerBen Soares <b.soares@dundee.ac.uk>
Tue, 5 Nov 2024 17:30:21 +0000 (17:30 +0000)
src/ext/edu/ucsf/rbvi/strucviz2/StructureManager.java

index b83333c..64b2573 100644 (file)
@@ -1091,8 +1091,8 @@ public class StructureManager
       Set<File> installedChimera = new HashSet<>();
       String[] templates = new String[] {
           "%s/%s-%s.app/Contents/MacOS/%s" };
-      String[] roots = new String[] { "/Application", String
-              .format("%s/Application", System.getProperty("user.home")) };
+      String[] roots = new String[] { "/Applications", String
+              .format("%s/Applications", System.getProperty("user.home")) };
       for (String root : roots)
       {
         for (String template : templates)