diff --git a/bin/com/efp3/pico/mklittlefs/PicoLittleFS$2.class b/bin/com/efp3/pico/mklittlefs/PicoLittleFS$2.class index a77fd81..c5c0c32 100644 Binary files a/bin/com/efp3/pico/mklittlefs/PicoLittleFS$2.class and b/bin/com/efp3/pico/mklittlefs/PicoLittleFS$2.class differ diff --git a/bin/com/efp3/pico/mklittlefs/PicoLittleFS.class b/bin/com/efp3/pico/mklittlefs/PicoLittleFS.class index 6de1929..f40d5a4 100644 Binary files a/bin/com/efp3/pico/mklittlefs/PicoLittleFS.class and b/bin/com/efp3/pico/mklittlefs/PicoLittleFS.class differ diff --git a/src/PicoLittleFS.java b/src/PicoLittleFS.java index 0effed3..59675ed 100644 --- a/src/PicoLittleFS.java +++ b/src/PicoLittleFS.java @@ -99,12 +99,12 @@ private void sysExec(final String[] arguments){ public void run() { try { if(listenOnProcess(arguments) != 0){ - editor.statusError("LittleFS Upload failed!"); + editor.statusError("LittleFS Upload failed! Did you close the Serial Monitor?"); } else { editor.statusNotice("LittleFS Image Uploaded"); } } catch (Exception e){ - editor.statusError("LittleFS Upload failed!"); + editor.statusError("LittleFS Upload failed! Did you close the Serial Monitor?"); } } }; @@ -220,7 +220,7 @@ private void createAndUpload(){ uploadCmd = uploadPyFile.getAbsolutePath(); } // Find python.exe if present, don't fail if not found for backwards compat - String[] paths = { platform.getFolder()+"/tools", platform.getFolder()+"/tools/python3", PreferencesData.get("runtime.tools.python3.path") }; + String[] paths = { platform.getFolder()+"/system", platform.getFolder()+"/system/python3", PreferencesData.get("runtime.tools.pqt-python3.path") }; for (String s: paths) { File toolPyFile = new File(s, pythonCmd); if (toolPyFile.exists() && toolPyFile.isFile() && toolPyFile.canExecute()) {