Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/src/processing/app/Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ private Editor openSketchBundle(String path) {
File destFolder = File.createTempFile("zip", "tmp", untitledFolder);
if (!destFolder.delete() || !destFolder.mkdirs()) {
// Hard to imagine why this would happen, but...
System.err.println("Could not create temporary folder " + destFolder);
Messages.showWarning("Could not create temporary folder " + destFolder);
return null;
}
Util.unzip(zipFile, destFolder);
Expand All @@ -1225,11 +1225,11 @@ private Editor openSketchBundle(String path) {
return handleOpenUntitled(sketchFile.getAbsolutePath());
}
} else {
System.err.println("Expecting one folder inside " +
Messages.showWarning("Expecting one folder inside " +
SKETCH_BUNDLE_EXT + " file, found " + fileList.length + ".");
}
} else {
System.err.println("Could not read " + destFolder);
Messages.showWarning("Could not read " + destFolder);
}
} catch (IOException e) {
e.printStackTrace();
Expand Down