Skip to content

Add Notepad++#103

Open
lgolstongov wants to merge 2 commits into
airpwr:mainfrom
lgolstongov:npp
Open

Add Notepad++#103
lgolstongov wants to merge 2 commits into
airpwr:mainfrom
lgolstongov:npp

Conversation

@lgolstongov

Copy link
Copy Markdown
Contributor

Closes #73

@lgolstongov lgolstongov requested a review from troyaf as a code owner January 2, 2026 21:58

@troyaf troyaf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please run the build in your pipeline so I can verify the output.

@lgolstongov

Copy link
Copy Markdown
Contributor Author

@lgolstongov

Copy link
Copy Markdown
Contributor Author

Re-ran to fix verified commit: https://github.com/lgolstongov/shipyard/actions/runs/20866505054

@lgolstongov lgolstongov requested a review from troyaf January 15, 2026 14:58
Comment thread src/pkgs/npp.ps1 Outdated

function global:Test-PwrPackageInstall {
Airpower exec 'file:///\pkg' {
notepad++ --help

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't print in the action output. Please verify.

@markashook markashook Mar 19, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notepad++ does not have a built-in command-line argument to display its version and exit 0 immediately.

Author might consider

if (-not (Test-Path 'notepad++.exe')) { return -1 }

or

if ([string]::IsNullOrWhiteSpace((Get-Item 'notepad++.exe').VersionInfo.FileVersion)) { return -1 }

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not know how best to handle the version not returning like the other scripts, but have tried a different approach now. The workflow is now run at https://github.com/lgolstongov/shipyard/actions/runs/23810371752/job/69395458263. Please let me know if it is okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Notepad++

3 participants