Skip to content

Commit 811ffe4

Browse files
committed
Prompt for sketchbook folder only if in GUI mode
1 parent 8520c58 commit 811ffe4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/processing/app/Base.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1804,10 +1804,9 @@ public List<JMenu> getBoardsCustomMenus() {
18041804
}
18051805

18061806
public File getDefaultSketchbookFolderOrPromptForIt() {
1807-
18081807
File sketchbookFolder = BaseNoGui.getDefaultSketchbookFolder();
18091808

1810-
if (sketchbookFolder == null) {
1809+
if (sketchbookFolder == null && !isCommandLine()) {
18111810
sketchbookFolder = promptSketchbookLocation();
18121811
}
18131812

0 commit comments

Comments
 (0)