From cfe51b443982d8cced1522dc8e4ae6134f17d525 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Tue, 9 Apr 2013 06:57:35 -0700 Subject: [PATCH] We need to chmod on Mac too. Err on the side of trying it. --- src/main/java/com/threerings/getdown/launcher/Getdown.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/threerings/getdown/launcher/Getdown.java b/src/main/java/com/threerings/getdown/launcher/Getdown.java index 796b79f..62eec7e 100644 --- a/src/main/java/com/threerings/getdown/launcher/Getdown.java +++ b/src/main/java/com/threerings/getdown/launcher/Getdown.java @@ -593,7 +593,7 @@ public abstract class Getdown extends Thread // Sun, why dost thou spite me? Java doesn't know anything about file permissions (and by // extension then, neither does Jar), so on Joonix we have to hackily make java_vm/bin/java // executable by execing chmod; a pox on their children! - if (RunAnywhere.isLinux()) { + if (!RunAnywhere.isWindows()) { String vmbin = LaunchUtil.LOCAL_JAVA_DIR + File.separator + "bin" + File.separator + "java"; String cmd = "chmod a+rx " + _app.getLocalPath(vmbin);