Skip to content

Commit

Permalink
Fix nssm path
Browse files Browse the repository at this point in the history
  • Loading branch information
song-jiang committed Oct 28, 2022
1 parent fd1fa45 commit 9119872
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions calico/scripts/install-calico-windows.ps1
Expand Up @@ -453,6 +453,10 @@ if ((Get-Service -exclude 'CalicoUpgrade' | where Name -Like 'Calico*' | where S
Remove-Item $RootDir -Force -Recurse -ErrorAction SilentlyContinue
Write-Host "Unzip Calico for Windows release..."
Expand-Archive -Force $CalicoZip c:\
# This is a temporary fix to make sure nssm binary is in the correct path.
$nssmDir = Get-ChildItem $RootDir -filter "nssm*" -Directory
mv $nssmDir.fullname $RootDir\nssm-2.24

ipmo -force $RootDir\libs\calico\calico.psm1

# This comes after we import calico.psm1
Expand Down

0 comments on commit 9119872

Please sign in to comment.