Skip to content

Commit

Permalink
Only set file permissions on non-Windows platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
Qonfused committed Aug 31, 2024
1 parent 69b5ae2 commit ee9fa36
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ci/bootstrap.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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('/\', '/')
}
}
Expand Down

0 comments on commit ee9fa36

Please sign in to comment.