mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-09-08 03:54:39 +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);
|
||||
}
|
||||
|
||||
const esptoolScript = ".\\esptool\\esptool.exe";
|
||||
const esptoolScript =
|
||||
os === "Windows" ? ".\\esptool\\esptool.exe" : "esptool";
|
||||
const port = "%1";
|
||||
const ext = os === "Windows" ? "bat" : "sh";
|
||||
zip.file(
|
||||
|
||||
Reference in New Issue
Block a user