mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 10:30:44 +01:00
fix up httpclient example, working on windows export problem
This commit is contained in:
@@ -1519,8 +1519,12 @@ public class JavaBuild {
|
||||
int offset = sketch.getFolder().getAbsolutePath().length() + 1;
|
||||
for (String path : dataFiles) {
|
||||
if (Base.isWindows()) {
|
||||
System.out.println("base is windows");
|
||||
//dataFiles[i] = dataFiles[i].replace('\\', '/');
|
||||
path = path.replace('\\', '/');
|
||||
System.out.println("new path is " + path);
|
||||
} else {
|
||||
System.out.println("base NOT windows");
|
||||
}
|
||||
//File dataFile = new File(dataFiles[i]);
|
||||
File dataFile = new File(path);
|
||||
|
||||
Reference in New Issue
Block a user