From ee9fa36b41218ae199ecc5e8581095fc644997c5 Mon Sep 17 00:00:00 2001 From: Cory Bennett <32466081+Qonfused@users.noreply.github.com> Date: Sat, 31 Aug 2024 14:54:48 -0500 Subject: [PATCH] Only set file permissions on non-Windows platforms --- ci/bootstrap.ps1 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ci/bootstrap.ps1 b/ci/bootstrap.ps1 index 46a237e1..abf970eb 100644 --- a/ci/bootstrap.ps1 +++ b/ci/bootstrap.ps1 @@ -27,10 +27,7 @@ function Bootstrap { Invoke-WebRequest -Uri $uri -OutFile $dest # Grant read execute permissions to the destination file - if ($IsWindows) { - icals $dest /remove 'Everyone' - icals $dest /grant 'Everyone:(RX)' - } else { + if (-not $IsWindows) { chmod +x $dest.replace('/\', '/') } }