mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
default sketchbook was user.dir instead of user.home... oops (issue #1286)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user