diff --git a/packages/desktop/src/main/apps.ts b/packages/desktop/src/main/apps.ts index bf25417b83..f9c0a603e6 100644 --- a/packages/desktop/src/main/apps.ts +++ b/packages/desktop/src/main/apps.ts @@ -58,7 +58,7 @@ async function checkMacosApp(appName: string) { async function resolveWindowsAppPath(appName: string): Promise { let output: string try { - output = execFilePromise("where", [appName]).toString() + output = await execFilePromise("where", [appName]).then((r) => r.stdout.toString()) } catch { return null }