mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-31 17:43:04 -06:00
Use dotnet run --file instead of WorkingDirectory workaround
Replace the WorkingDirectory hack with the proper `--file` flag to explicitly tell `dotnet run` to treat the argument as a file-based app, even when a .csproj exists in the working directory. Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Agent-Logs-Url: https://github.com/Tyrrrz/DiscordChatExporter/sessions/97183490-cc76-4dd7-bfe6-5290aad9cee5
This commit is contained in:
parent
824e1011ca
commit
80feb4739b
|
|
@ -56,8 +56,7 @@
|
||||||
|
|
||||||
<Target Name="PublishMacOSBundle" AfterTargets="Publish" Condition="$(PublishMacOSBundle)">
|
<Target Name="PublishMacOSBundle" AfterTargets="Publish" Condition="$(PublishMacOSBundle)">
|
||||||
<Exec
|
<Exec
|
||||||
Command="dotnet run "$(ProjectDir)Publish-MacOSBundle.csx" -- --publish-dir "$(PublishDir)" --icons-file "$(ProjectDir)../favicon.icns" --full-version $(Version) --short-version $(AssemblyVersion)"
|
Command="dotnet run --file "$(ProjectDir)Publish-MacOSBundle.csx" -- --publish-dir "$(PublishDir)" --icons-file "$(ProjectDir)../favicon.icns" --full-version $(Version) --short-version $(AssemblyVersion)"
|
||||||
WorkingDirectory="$([System.IO.Path]::GetTempPath())"
|
|
||||||
LogStandardErrorAsError="true"
|
LogStandardErrorAsError="true"
|
||||||
/>
|
/>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue