Skip to content

Add Explorer right-click integration - #16

Merged
TheZeekA merged 1 commit into
mainfrom
testing
Aug 2, 2026
Merged

TheZeekA merged 1 commit into
mainfrom
testing

Conversation

@TheZeekA

@TheZeekA TheZeekA commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Implements #14. Adds a single "Open with ZeeCrypt" context-menu entry for files and folders via dist/windows/installer.wxs (registry-only change, no app code needed since main() already forwards CLI args into onDrop() and onDrop() already auto-detects encrypt vs. decrypt).

Per-user registration (HKCU), MultiSelectModel=Player so multi-select launches one instance with all paths passed as arguments.

Not yet tested end-to-end (no Windows dev environment in the session that wrote this) — please verify after installing the MSI: right-click a file/folder, multi-select several files, and confirm a .pcv file correctly opens in decrypt mode.

Registers a single "Open with ZeeCrypt" context-menu entry for both
files (*\shell) and folders (Directory\shell), per-user (HKCU, no admin
required, matching the installer's existing scope). MultiSelectModel
"Player" makes Explorer launch one instance with every selected path
passed as an argument, rather than one instance per file.

No app code changes needed: main() already forwards os.Args into
onDrop() (the same path drag-and-drop uses), and onDrop() already
auto-detects encrypt vs. decrypt from the file itself, so a single
generic entry is correct rather than separate Encrypt/Decrypt verbs
that would have to guess.

Closes #14.
@TheZeekA
TheZeekA merged commit 9ce1f71 into main Aug 2, 2026
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.

1 participant