Skip to content

Commit

Permalink
Merge pull request #854 from Stefterv/fix-#698
Browse files Browse the repository at this point in the history
Fix #698 - Sketches weren't opening on launch because the untitled folder did not exist yet
  • Loading branch information
Stefterv authored Nov 28, 2024
2 parents d4884ef + b42181f commit 549d775
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/processing/app/Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,7 @@ public String getDescription() {
private Editor openSketchBundle(String path) {
File zipFile = new File(path);
try {
untitledFolder.mkdirs();
File destFolder = File.createTempFile("zip", "tmp", untitledFolder);
if (!destFolder.delete() || !destFolder.mkdirs()) {
// Hard to imagine why this would happen, but...
Expand Down

0 comments on commit 549d775

Please sign in to comment.