From c2ca4a952b5495ced47bd57b92aa07eedf6c6cd5 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Mon, 13 Feb 2023 00:21:23 +0000 Subject: [PATCH] Correct the wsl shell command --- scripts/Build-Electron.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Build-Electron.ps1 b/scripts/Build-Electron.ps1 index d110aea9..9c517df5 100644 --- a/scripts/Build-Electron.ps1 +++ b/scripts/Build-Electron.ps1 @@ -166,7 +166,7 @@ if ($electronbuild -eq "local" -and (-not $portableonly)) { cd $repo_dir rm -r $base_dir/linux-unpacked rm -r $base_dir/linux-ia32-unpacked - wsl sh -c "npm run dist-linux" + wsl bash -ic "npm run dist-linux" # Alternatively build with docker # docker $build_command }