mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 18:10:43 +01:00
fix line ending problem with args.txt for Windows when exporting from others (#1890)
This commit is contained in:
@@ -1448,10 +1448,10 @@ public class JavaBuild {
|
||||
File argsFile = new File(destFolder + "/lib/args.txt");
|
||||
PrintWriter pw = PApplet.createWriter(argsFile);
|
||||
|
||||
pw.println(runOptions);
|
||||
|
||||
pw.println(sketch.getName());
|
||||
pw.println(exportClassPath);
|
||||
// Since this is only on Windows, make sure we use Windows CRLF
|
||||
pw.print(runOptions + "\r\n");
|
||||
pw.print(sketch.getName() + "\r\n");
|
||||
pw.print(exportClassPath);
|
||||
|
||||
pw.flush();
|
||||
pw.close();
|
||||
|
||||
Reference in New Issue
Block a user