mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-18 12:54:25 +01:00
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.
This commit is contained in:
parent
1d21378a5f
commit
76be212f23
@ -648,14 +648,6 @@ public class Sketch {
|
||||
Base.copyDir(data.getCodeFolder(), newCodeFolder);
|
||||
}
|
||||
|
||||
// copy custom applet.html file if one exists
|
||||
// http://dev.processing.org/bugs/show_bug.cgi?id=485
|
||||
File customHtml = new File(data.getFolder(), "applet.html");
|
||||
if (customHtml.exists()) {
|
||||
File newHtml = new File(newFolder, "applet.html");
|
||||
Base.copyFile(customHtml, newHtml);
|
||||
}
|
||||
|
||||
// save the main tab with its new name
|
||||
File newFile = new File(newFolder, newName + ".ino");
|
||||
data.getCode(0).saveAs(newFile);
|
||||
|
Loading…
x
Reference in New Issue
Block a user