Skip to content

Commit ccdce63

Browse files
committed
fix(SetupZephyr): Restrict manual pip install to Windows platforms
Signed-off-by: paulober <[email protected]>
1 parent b156338 commit ccdce63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/commands/cleanZephyr.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { commands, Uri, window, workspace } from "vscode";
22
import { CLEAN_ZEPHYR } from "./cmdIds.mjs";
3-
import { Command, extensionName } from "./command.mjs";
3+
import { Command } from "./command.mjs";
44
import Logger from "../logger.mjs";
55
import { homedir } from "os";
66
import { unknownErrorToString } from "../utils/errorHelper.mjs";

src/utils/setupZephyr.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ async function checkPicotool(latestVb: VersionBundle): Promise<boolean> {
357357
}
358358

359359
async function preparePython(python3Path: string): Promise<boolean> {
360-
if (!python3Path.includes(".pico-sdk")) {
360+
if (!python3Path.includes(".pico-sdk") || process.platform !== "win32") {
361361
return true;
362362
}
363363

0 commit comments

Comments
 (0)