mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
fixup export.txt
This commit is contained in:
@@ -1454,9 +1454,17 @@ public class PdeSketch {
|
||||
File libraryFolder = (File)enum.nextElement();
|
||||
//System.out.println("exporting files from " + libFolder);
|
||||
File exportSettings = new File(libraryFolder, "export.txt");
|
||||
String exportList[]; // = null;
|
||||
String exportList[] = null;
|
||||
if (exportSettings.exists()) {
|
||||
exportList = PApplet.loadStrings(exportSettings);
|
||||
//exportList = PApplet.loadStrings(exportSettings);
|
||||
String info[] = PApplet.loadStrings(exportSettings);
|
||||
for (int i = 0; i < info.length; i++) {
|
||||
if (info[i].startsWith("applet")) {
|
||||
int idx = info[i].indexOf('='); // get applet= or applet =
|
||||
String commas = info[i].substring(idx+1).trim();
|
||||
exportList = PApplet.split(commas, ", ");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
exportList = libraryFolder.list();
|
||||
}
|
||||
|
||||
@@ -116,6 +116,10 @@ sure if related. same for PATH and CLASSPATH.
|
||||
* some virus scanning software, particularly older NAV versions cause
|
||||
the trouble.
|
||||
|
||||
040925
|
||||
X change how export.txt works
|
||||
X make p2 dist for amit
|
||||
|
||||
_ remove fonts from distribution
|
||||
_ fix dist.sh for mac, pc, linux
|
||||
|
||||
|
||||
Reference in New Issue
Block a user