| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3a8f062 commit 7f67c29
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -102,8 +102,11 @@ public void run() { | |||
| 102 | 102 | String sourcePath = file.getAbsolutePath(); | |
| 103 | 103 | ||
| 104 | 104 | if (result == JOptionPane.YES_OPTION) { | |
| 105 | - String targetPath = "/usr/bin/processing-java"; | ||
| 106 | - String shellScript = "/bin/mv " + sourcePath + " " + targetPath; | ||
| 105 | + // Moving to /usr/local/bin instead of /usr/bin for compatibility | ||
| 106 | + // with OS X 10.11 and its "System Integrity Protection" | ||
| 107 | + // https://github.com/processing/processing/issues/3497 | ||
| 108 | + String targetPath = "/usr/local/bin/processing-java"; | ||
| 109 | + String shellScript = "/bin/mkdir -p /usr/local/bin && /bin/mv " + sourcePath + " " + targetPath; | ||
| 107 | 110 | String appleScript = | |
| 108 | 111 | "do shell script \"" + shellScript + "\" with administrator privileges"; | |
| 109 | 112 | PApplet.exec(new String[] { "osascript", "-e", appleScript }); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -386,6 +386,7 @@ static void printCommandLine(PrintStream out) { | |||
| 386 | 386 | // out.println(" 32- or 64-bit specific such as the OpenGL library."); | |
| 387 | 387 | // out.println(" Otherwise specify 0 or leave it out."); | |
| 388 | 388 | ||
| 389 | + out.println(); | ||
| 389 | 390 | out.println("The --build, --run, --present, or --export will be the final parameter"); | |
| 390 | 391 | out.println("passed to Processing. Arguments passed following one of those four will"); | |
| 391 | 392 | out.println("be passed through to the sketch itself, and therefore available to the"); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,12 @@ | |||
| 1 | 1 | 0243 (3.0b5) | |
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | + earlier | ||
| 5 | + X modify build to insert these after antlr run: | ||
| 6 | + X @SuppressWarnings({"unused", "cast"}) | ||
| 7 | + X or get the updated ANTLR, which likely would support it | ||
| 8 | + | ||
| 9 | + | ||
| 4 | 10 | known issues | |
| 5 | 11 | _ launch4j doesn't work from folders with non-native charsets | |
| 6 | 12 | _ anything in CP1252 on an English Windows system is fine | |
@@ -34,6 +40,8 @@ _ probably have to add the script/Processing.app location to user's path | |||
| 34 | 40 | _ move processing-java inside the Java Mode? | |
| 35 | 41 | _ make a Tool that installs it for all platforms, not just OS X | |
| 36 | 42 | _ not really part of the 'build' anymore | |
| 43 | + _ sketch modified externally with FAT32 volumes on OS X | ||
| 44 | + _ https://github.com/processing/processing/issues/3387 | ||
| 37 | 45 | ||
| 38 | 46 | ||
| 39 | 47 | gui | |
@@ -447,9 +455,6 @@ _ https://github.com/fjenett/processing-preprocessor-antlr4 | |||
| 447 | 455 | _ https://github.com/processing/processing/issues/3055 | |
| 448 | 456 | _ update grammar for ANTLR | |
| 449 | 457 | _ https://github.com/processing/processing/issues/3054 | |
| 450 | - _ modify build to insert these after antlr run: | ||
| 451 | - _ @SuppressWarnings({"unused", "cast"}) | ||
| 452 | - _ or get the updated ANTLR, which likely would support it | ||
| 453 | 458 | _ omitting a semicolon shows the error on the line after it | |
| 454 | 459 | _ npe if library is removed before compile | |
| 455 | 460 | _ always check library folders to make sure they're still valid | |
| Back | FazBrowse Home | New Git URL |
0 commit comments