From 676cae9c62be4992a832f310a44a7f822b591168 Mon Sep 17 00:00:00 2001 From: Xuesong Peng Date: Sun, 12 May 2024 13:32:58 +0800 Subject: [PATCH] Fix: release script failed to pack sswinservice.exe --- build/build-host-release.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build-host-release.ps1 b/build/build-host-release.ps1 index 3fb9e7eadfdc..b1e8660568c8 100644 --- a/build/build-host-release.ps1 +++ b/build/build-host-release.ps1 @@ -48,7 +48,7 @@ $CompressParam = @{ LiteralPath = "sslocal.exe", "ssserver.exe", "ssurl.exe", "ssmanager.exe", "ssservice.exe" DestinationPath = "${PackagePath}" } -if (${Features} -contains "winservice") { +if ((${Features}).Contains("winservice")) { $CompressParam.LiteralPath += "sswinservice.exe" } Compress-Archive @CompressParam