Skip to content

Commit

Permalink
fix: test-path CIPP-API-Processor
Browse files Browse the repository at this point in the history
  • Loading branch information
OfficialEsco committed Jan 8, 2025
1 parent 6d8992f commit 5d39457
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tools/Start-CippDevEmulatorsWithKitty.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ Write-Host 'Starting CIPP Dev Emulators'
Get-Process node -ErrorAction SilentlyContinue | Stop-Process -ErrorAction SilentlyContinue
$Path = (Get-Item $PSScriptRoot).Parent.Parent.FullName

$Process = Read-Host -Prompt 'Start Process Function (y/N)?'
if (Test-Path (Join-Path $Path 'CIPP-API-Processor')) {
$Process = Read-Host -Prompt 'Start Process Function (y/N)?'
}

if ($Process -eq 'y') {
kitty --detach --title 'CIPP' -o allow_remote_control=yes -- pwsh -c "
Expand Down

0 comments on commit 5d39457

Please sign in to comment.