mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-09-08 12:04:43 +00:00
fix: factory kit has wrong mac/linux command
This commit is contained in:
@@ -73,7 +73,8 @@ export async function assembleFactoryKit(
|
|||||||
zip.file(file, dataPromise);
|
zip.file(file, dataPromise);
|
||||||
}
|
}
|
||||||
|
|
||||||
const esptoolScript = ".\\esptool\\esptool.exe";
|
const esptoolScript =
|
||||||
|
os === "Windows" ? ".\\esptool\\esptool.exe" : "esptool";
|
||||||
const port = "%1";
|
const port = "%1";
|
||||||
const ext = os === "Windows" ? "bat" : "sh";
|
const ext = os === "Windows" ? "bat" : "sh";
|
||||||
zip.file(
|
zip.file(
|
||||||
|
|||||||
Reference in New Issue
Block a user