Skip to content

Commit bb65620

Browse files
committed
default sketchbook was user.dir instead of user.home... oops (issue #1286)
1 parent a02cf6f commit bb65620

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

app/src/processing/app/Platform.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ public File getSettingsFolder() throws Exception {
101101

102102

103103
/**
104-
* @return if not overridden, a folder named "sketchbook" in user.dir.
104+
* @return if not overridden, a folder named "sketchbook" in user.home.
105105
* @throws Exception so that subclasses can throw a fit
106106
*/
107107
public File getDefaultSketchbookFolder() throws Exception {
108-
return new File(System.getProperty("user.dir"), "sketchbook");
108+
return new File(System.getProperty("user.home"), "sketchbook");
109109
}
110110

111111

todo.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@ X seems that 1.7 is now the default, and no 32-bit option is available (!@#$)
1111
X but the 32-bit JVM for 1.6 seems to still be installed
1212
X sketch renaming regeression due to underscore handling
1313
X http://code.google.com/p/processing/issues/detail?id=1310
14+
X library manager using renameTo() (can't cross FS)
15+
X http://code.google.com/p/processing/issues/detail?id=1295
16+
X 2.0b3 needs existing sketchbook folder on Linux
17+
X http://code.google.com/p/processing/issues/detail?id=1286
1418

1519
_ figure out why modes are not loading classes properly
1620
_ first see if it's something quick
1721

18-
_ 2.0b3 needs existing sketchbook folder on Linux
19-
_ http://code.google.com/p/processing/issues/detail?id=1286
20-
21-
_ library manager using renameTo() (can't cross FS)
22-
_ http://code.google.com/p/processing/issues/detail?id=1295
23-
2422
. . .
2523

2624
_ try to use appbundler to create a version that includes a JRE (JDK)

0 commit comments

Comments
 (0)