fix: factory kit has wrong mac/linux command

This commit is contained in:
2026-08-08 19:46:14 +02:00
parent 92acde3e06
commit 33ce9b1ba7
@@ -73,7 +73,8 @@ export async function assembleFactoryKit(
zip.file(file, dataPromise);
}
const esptoolScript = ".\\esptool\\esptool.exe";
const esptoolScript =
os === "Windows" ? ".\\esptool\\esptool.exe" : "esptool";
const port = "%1";
const ext = os === "Windows" ? "bat" : "sh";
zip.file(