remove old debug folder, other cleanups

This commit is contained in:
Ben Fry
2016-11-09 21:25:28 -05:00
parent 39692cda55
commit 15f0488d1c
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -142,8 +142,12 @@ public class Base {
// Set the debug flag based on a file being present in the settings folder
File debugFile = getSettingsFile("debug");
// if it's a directory, it's a leftover from older releases
DEBUG = debugFile.exists() && !debugFile.isDirectory();
if (debugFile.isDirectory()) {
// if it's a directory, it's a leftover from older releases, clear it
Util.removeDir(debugFile);
} else if (debugFile.exists()) {
DEBUG = true;
}
// Use native popups so they don't look so crappy on OS X
JPopupMenu.setDefaultLightWeightPopupEnabled(false);
+1 -1
View File
@@ -387,7 +387,7 @@
<isset property="version" />
</condition>
<echo message="ref ignoreable? ${reference.ignorable}" />
<!--<echo message="ref ignoreable? ${reference.ignorable}" />-->
<get src="http://download.processing.org/reference.zip"
dest="../java/reference.zip"
ignoreerrors="${reference.ignorable}"