fix: osascript for clipboard typo (#5430)

thinking-toggle-wip
Luke Parker 2025-12-13 03:37:43 +10:00 committed by Aiden Cline
parent 22487904ab
commit f31151deaf
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ export namespace Clipboard {
const getCopyMethod = lazy(() => {
const os = platform()
if (os === "darwin" && Bun.which("oascript")) {
if (os === "darwin" && Bun.which("osascript")) {
console.log("clipboard: using osascript")
return async (text: string) => {
const escaped = text.replace(/\\/g, "\\\\").replace(/"/g, '\\"')