Skip to content

Commit

Permalink
fix(pack): allow packing win runtime on posix systems (#2902)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Apr 3, 2024
1 parent 0e68ca9 commit 93f617d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Playwright/build/Microsoft.Playwright.targets
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@
</Content>
</ItemGroup>
</Target>
<Target Name="PlaywrightChmodExecutables" AfterTargets="CopyFilesToOutputDirectory;CopyFilesToPublishDirectory" Condition="!$([MSBuild]::IsOSPlatform('Windows'))">
<Target Name="PlaywrightChmodExecutables" AfterTargets="CopyFilesToOutputDirectory;CopyFilesToPublishDirectory" Condition="!$([MSBuild]::IsOSPlatform('Windows'))">
<ItemGroup>
<_PlaywrightChmodItems Include="$([MSBuild]::EnsureTrailingSlash('$(OutputPath)')).playwright\node\*\node" />
<_PlaywrightChmodItems Include="$([MSBuild]::EnsureTrailingSlash('$(PublishDir)')).playwright\node\*\node" />
</ItemGroup>
<Exec Command="chmod +x &quot;%(_PlaywrightChmodItems.FullPath)&quot;" />
<Exec Command="chmod +x &quot;%(_PlaywrightChmodItems.FullPath)&quot;" Condition="'@(_PlaywrightChmodItems->Count())' != '0'" />
</Target>
</Project>

0 comments on commit 93f617d

Please sign in to comment.