Normand Briere
2019-09-18 f9325048496d7cdbcad233f8a6b84c88e79adcc2
Grafreed.java
....@@ -688,10 +688,14 @@
688688
689689 public static void main(String argv[])
690690 {
691
- String osArch = System.getProperty("os.arch");
691
+ String osArch = System.getProperty("os.arch");
692692 if (Globals.DEBUG)
693693 System.out.println("os.arch = " + osArch);
694694
695
+ String osName = System.getProperty("os.name");
696
+
697
+ isWindows = !osName.equals("Mac OS X");
698
+
695699 if (argv.length == 0)
696700 {
697701 String javaPath = System.getProperty("java.home") + File.separator + "bin" + File.separator + "java";
....@@ -717,7 +721,6 @@
717721 // -Djava.library.path=/Users/nbriere/Projects/shared/lib
718722 if (jarfile.charAt(2) == ':')
719723 {
720
- isWindows = true;
721724 command = "\"" + javaPath + "\" -Xmx1024m -Djava.library.path=" + jarpath;
722725 // On Windows systems, the path is /C:/
723726 jarfile = jarfile.substring(1, jarfile.length());