From 8dd9b9c963c0549c11bc945bf7e11188590b9f72 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Fri, 13 Jun 2025 23:19:03 +0800 Subject: [PATCH] Publish command project --- Scripts/post_build.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Scripts/post_build.ps1 b/Scripts/post_build.ps1 index e54852d32..18e896f51 100644 --- a/Scripts/post_build.ps1 +++ b/Scripts/post_build.ps1 @@ -104,6 +104,12 @@ function Publish-Self-Contained ($p) { # we call dotnet publish on the main project. # The other projects should have been built in Release at this point. dotnet publish -c Release $csproj /p:PublishProfile=$profile + + $command_csproj = Join-Path "$p" "Flow.Launcher.Command/Flow.Launcher.Command.csproj" -Resolve + $command_profile = Join-Path "$p" "Flow.Launcher.Command/Properties/PublishProfiles/Net7.0-SelfContained.pubxml" -Resolve + + # we call dotnet publish on the command project. + dotnet publish -c Release $command_profile /p:PublishProfile=$profile } function Publish-Portable ($outputLocation, $version) {