Skip to content

Commit 76be212

Browse files
matthijskooijmanfacchinm
authored andcommitted
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 1d21378 commit 76be212

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
@@ -648,14 +648,6 @@ protected boolean saveAs() throws IOException {
648648
Base.copyDir(data.getCodeFolder(), newCodeFolder);
649649
}
650650

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

0 commit comments

Comments
 (0)