Skip to content

Commit

Permalink
Merge pull request #324 from ffxivcode/MoreAP
Browse files Browse the repository at this point in the history
Modify OS check
  • Loading branch information
Herculezz55 authored Aug 31, 2024
2 parents d1627ad + 3b7da9f commit fab80d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AutoDuty/AutoDuty.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@
</EmbeddedResource>
</ItemGroup>

<Target Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))'" Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Condition="'$([System.OperatingSystem]::IsLinux())'" Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="cp &quot;$(ProjectDir)Paths\&quot;* &quot;$(ProjectDir)$(OutDir)&quot;" />
</Target>
<Target Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))'" Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Condition="'$([System.OperatingSystem]::IsWindows())'" Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy &quot;$(ProjectDir)Paths\&quot;* &quot;$(ProjectDir)$(OutDir)&quot;" />
</Target>
</Project>
Expand Down

0 comments on commit fab80d3

Please sign in to comment.