Skip to content

Commit e331f75

Browse files
Remove applet.html handling
This was a remnant of Processing, this file has no special meaning for an Arduino sketch, so this code can just be removed.
1 parent 633ec5f commit e331f75

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/src/processing/app/Sketch.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -649,14 +649,6 @@ protected boolean saveAs() throws IOException {
649649
Base.copyDir(data.getCodeFolder(), newCodeFolder);
650650
}
651651

652-
// copy custom applet.html file if one exists
653-
// http://dev.processing.org/bugs/show_bug.cgi?id=485
654-
File customHtml = new File(data.getFolder(), "applet.html");
655-
if (customHtml.exists()) {
656-
File newHtml = new File(newFolder, "applet.html");
657-
Base.copyFile(customHtml, newHtml);
658-
}
659-
660652
// save the main tab with its new name
661653
File newFile = new File(newFolder, newName + ".ino");
662654
data.getCode(0).saveAs(newFile);

0 commit comments

Comments
 (0)