Do not publish command project

This commit is contained in:
Jack251970 2025-06-14 15:08:59 +08:00
parent 764b524ea4
commit 2f3b97302b

View file

@ -98,12 +98,6 @@ function Pack-Squirrel-Installer ($path, $version, $output) {
function Publish-Self-Contained ($p) {
$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_csproj /p:PublishProfile=$command_profile
$csproj = Join-Path "$p" "Flow.Launcher/Flow.Launcher.csproj" -Resolve
$profile = Join-Path "$p" "Flow.Launcher/Properties/PublishProfiles/Net7.0-SelfContained.pubxml" -Resolve