mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
late breaking fixes
This commit is contained in:
+5
-1
@@ -2135,6 +2135,8 @@ public class Sketch {
|
||||
if (commaList == null) {
|
||||
// otherwise just dump the whole folder
|
||||
exportList = libraryFolder.list();
|
||||
} else {
|
||||
exportList = PApplet.split(commaList, ", ");
|
||||
}
|
||||
|
||||
// add each item from the library folder / export list to the output
|
||||
@@ -2255,7 +2257,9 @@ public class Sketch {
|
||||
|
||||
String shellPath = shellScript.getAbsolutePath();
|
||||
// will work on osx or *nix, but just dies on windows, oh well..
|
||||
Runtime.getRuntime().exec(new String[] { "chmod", "+x", shellPath });
|
||||
if (PApplet.platform != PConstants.WINDOWS) {
|
||||
Runtime.getRuntime().exec(new String[] { "chmod", "+x", shellPath });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user