Skip to content

Commit 93f617d

Browse files
authored
fix(pack): allow packing win runtime on posix systems (#2902)
1 parent 0e68ca9 commit 93f617d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Playwright/build/Microsoft.Playwright.targets

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@
5757
</Content>
5858
</ItemGroup>
5959
</Target>
60-
<Target Name="PlaywrightChmodExecutables" AfterTargets="CopyFilesToOutputDirectory;CopyFilesToPublishDirectory" Condition="!$([MSBuild]::IsOSPlatform('Windows'))">
60+
<Target Name="PlaywrightChmodExecutables" AfterTargets="CopyFilesToOutputDirectory;CopyFilesToPublishDirectory" Condition="!$([MSBuild]::IsOSPlatform('Windows'))">
6161
<ItemGroup>
6262
<_PlaywrightChmodItems Include="$([MSBuild]::EnsureTrailingSlash('$(OutputPath)')).playwright\node\*\node" />
6363
<_PlaywrightChmodItems Include="$([MSBuild]::EnsureTrailingSlash('$(PublishDir)')).playwright\node\*\node" />
6464
</ItemGroup>
65-
<Exec Command="chmod +x &quot;%(_PlaywrightChmodItems.FullPath)&quot;" />
65+
<Exec Command="chmod +x &quot;%(_PlaywrightChmodItems.FullPath)&quot;" Condition="'@(_PlaywrightChmodItems->Count())' != '0'" />
6666
</Target>
6767
</Project>

0 commit comments

Comments
 (0)