mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-12-01 21:05:42 +09:00
Format MCP browser path with repository formatter
This commit is contained in:
1 parent
4ff0163ff8
commit
f021af98fd
1 file changed
+2
-2
@@ -32,8 +32,8 @@ const getMcpBrowserPath = () => {
|
||||
process.platform === "darwin"
|
||||
? "chrome-mac"
|
||||
: process.platform === "win32"
|
||||
? "chrome-win"
|
||||
: "chrome-linux",
|
||||
? "chrome-win"
|
||||
: "chrome-linux",
|
||||
process.platform === "win32" ? "headless_shell.exe" : "headless_shell"
|
||||
);
|
||||
return existsSync(shellPath) ? shellPath : chromiumPath;
|
||||
|
||||
Reference in new issue
Block a user