From 4303c1cb7145b8f6b4135240ac14456d22933837 Mon Sep 17 00:00:00 2001 From: John Bonini <31309177+jrbp@users.noreply.github.com> Date: Sun, 25 May 2025 19:34:14 +0000 Subject: [PATCH] Fix: Remove full path /bin/bash in exec command (#953) caused screen recording on nixos to fail Co-authored-by: John Bonini --- src/components/menus/dashboard/shortcuts/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/menus/dashboard/shortcuts/helpers.ts b/src/components/menus/dashboard/shortcuts/helpers.ts index 8124a79..6578c58 100644 --- a/src/components/menus/dashboard/shortcuts/helpers.ts +++ b/src/components/menus/dashboard/shortcuts/helpers.ts @@ -20,7 +20,7 @@ export const getRecordingPath = (): string => options.menus.dashboard.recording. */ export const executeCommand = async (command: string): Promise => { try { - await execAsync(`/bin/bash -c '${command}'`); + await execAsync(`bash -c '${command}'`); } catch (err) { console.error('Command failed:', command); console.error('Error:', err);