Open enjoyneering opened 7 months ago
Hi, can you add the OTA passwords support like LeisureLadi did for ESP8266? Thank you in advance.
// ask for a password String passCode = JOptionPane.showInputDialog(editor, "Please enter password:\n(leave empty if none required!)","ESP8266LittleFS OTA Update", JOptionPane.QUESTION_MESSAGE); if(passCode != null) { if(passCode.isEmpty()) { sysExec(new String[]{pythonCmd, espota.getAbsolutePath(), "-i", serialPort, "-s", "-f", imagePath}); } else { sysExec(new String[]{pythonCmd, espota.getAbsolutePath(), "-i", serialPort, "-s", "-f", imagePath, "-a", passCode}); } }
Hi, can you add the OTA passwords support like LeisureLadi did for ESP8266? Thank you in advance.