diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index 5aaa7242f..8d2201c57 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -1807,10 +1807,9 @@ public class Base { } public File getDefaultSketchbookFolderOrPromptForIt() { - File sketchbookFolder = BaseNoGui.getDefaultSketchbookFolder(); - if (sketchbookFolder == null) { + if (sketchbookFolder == null && !isCommandLine()) { sketchbookFolder = promptSketchbookLocation(); }