default sketchbook was user.dir instead of user.home... oops (issue #1286)

This commit is contained in:
benfry
2012-10-19 19:59:52 +00:00
parent b42df86a4a
commit 3dbd117d75
2 changed files with 6 additions and 8 deletions

View File

@@ -101,11 +101,11 @@ public class Platform {
/**
* @return if not overridden, a folder named "sketchbook" in user.dir.
* @return if not overridden, a folder named "sketchbook" in user.home.
* @throws Exception so that subclasses can throw a fit
*/
public File getDefaultSketchbookFolder() throws Exception {
return new File(System.getProperty("user.dir"), "sketchbook");
return new File(System.getProperty("user.home"), "sketchbook");
}

View File

@@ -11,16 +11,14 @@ X seems that 1.7 is now the default, and no 32-bit option is available (!@#$)
X but the 32-bit JVM for 1.6 seems to still be installed
X sketch renaming regeression due to underscore handling
X http://code.google.com/p/processing/issues/detail?id=1310
X library manager using renameTo() (can't cross FS)
X http://code.google.com/p/processing/issues/detail?id=1295
X 2.0b3 needs existing sketchbook folder on Linux
X http://code.google.com/p/processing/issues/detail?id=1286
_ figure out why modes are not loading classes properly
_ first see if it's something quick
_ 2.0b3 needs existing sketchbook folder on Linux
_ http://code.google.com/p/processing/issues/detail?id=1286
_ library manager using renameTo() (can't cross FS)
_ http://code.google.com/p/processing/issues/detail?id=1295
. . .
_ try to use appbundler to create a version that includes a JRE (JDK)