From 3dbd117d75fb6d07ff819c89e9924224576b60fa Mon Sep 17 00:00:00 2001 From: benfry Date: Fri, 19 Oct 2012 19:59:52 +0000 Subject: [PATCH] default sketchbook was user.dir instead of user.home... oops (issue #1286) --- app/src/processing/app/Platform.java | 4 ++-- todo.txt | 10 ++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/app/src/processing/app/Platform.java b/app/src/processing/app/Platform.java index 64ec2e584..2cf380e66 100644 --- a/app/src/processing/app/Platform.java +++ b/app/src/processing/app/Platform.java @@ -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"); } diff --git a/todo.txt b/todo.txt index 4489e7056..9df775584 100644 --- a/todo.txt +++ b/todo.txt @@ -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)