mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
remove old debug folder, other cleanups
This commit is contained in:
@@ -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
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user