Skip to content

Commit

Permalink
Merge pull request #2566 from pauby/fix/npp-stop-relaunch [AU notepad…
Browse files Browse the repository at this point in the history
…plusplus notepadplusplus.install notepadplusplus.commandline]
  • Loading branch information
AdmiringWorm authored Nov 8, 2024
2 parents 5eeb461 + ee370ff commit 72600fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ Get-ChocolateyUnzip @packageArgs
Remove-Item $toolsPath\*.zip -ea 0

if ($programRunning -and (Test-Path $programRunning)) {
Write-Host "Running stopped program"
Start-Process $programRunning
Write-Host "Please reopen Notepad++ to continue using."
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,5 @@ Write-Host "$packageName installed to '$installLocation'"
Install-BinFile -Path "$installLocation\notepad++.exe" -Name 'notepad++'

if ($programRunning -and (Test-Path $programRunning)) {
Write-Host "Running stopped program"
Start-Process $programRunning
Write-Host "Please reopen Notepad++ to continue using."
}

0 comments on commit 72600fd

Please sign in to comment.