mirror of
https://github.com/processing/processing4.git
synced 2026-01-28 02:41:08 +01:00
reset Xcode installed state to fix the window
This commit is contained in:
@@ -296,6 +296,8 @@ public class ExportPrompt {
|
||||
} else {
|
||||
// Launch the process asynchronously
|
||||
PApplet.exec("xcode-select", "--install");
|
||||
// Reset the installed state so that the message will change.
|
||||
JavaBuild.resetXcodeInstalled();
|
||||
// Close the window so that we can rebuild it with different text
|
||||
// once they've finished installing the Command Line Tools.
|
||||
dialog.setVisible(false);
|
||||
|
||||
@@ -1104,6 +1104,11 @@ public class JavaBuild {
|
||||
}
|
||||
|
||||
|
||||
static protected void resetXcodeInstalled() {
|
||||
xcodeInstalled = null; // give them another chance
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Run the launch4j build.xml file through ant to create the exe.
|
||||
* Most of this code was lifted from Android mode.
|
||||
|
||||
Reference in New Issue
Block a user