implement per-platform export settings

This commit is contained in:
benfry
2005-11-29 21:46:59 +00:00
parent 0a931d169f
commit 7d3c5d1c6c
5 changed files with 101 additions and 45 deletions
+5 -4
View File
@@ -26,6 +26,7 @@ package processing.app;
import processing.app.syntax.*;
import processing.app.tools.*;
import processing.core.PConstants;
import java.awt.*;
import java.awt.datatransfer.*;
@@ -1637,10 +1638,10 @@ public class Editor extends JFrame
message("Exporting application...");
try {
boolean success = sketch.exportApplication();
if (success) {
File destFolder = new File(sketch.folder, "application");
Base.openFolder(destFolder);
if (sketch.exportApplication(PConstants.WINDOWS) &&
sketch.exportApplication(PConstants.MACOSX) &&
sketch.exportApplication(PConstants.LINUX)) {
Base.openFolder(sketch.folder);
message("Done exporting.");
} else {
// error message will already be visible