From 6eac70f8aa5f50ddcad7aabd087b6712156bad1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1l=20P=C3=A9ter?= Date: Sun, 2 Jan 2022 17:00:45 +0100 Subject: [PATCH] fix: add to path does not work on linux --- main/helpers/LegendaryInstaller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/helpers/LegendaryInstaller.ts b/main/helpers/LegendaryInstaller.ts index 56d4fc0..eae36ae 100644 --- a/main/helpers/LegendaryInstaller.ts +++ b/main/helpers/LegendaryInstaller.ts @@ -56,7 +56,7 @@ export class LegendaryInstaller { shell: "powershell.exe" }); } else { - execSync(`PATH=$PATH:${app.getPath("userData")}"`, { + execSync(`PATH="$PATH:${app.getPath("userData")}"`, { shell: "/bin/bash" }); }