Skip to content

feat: add optional fingerprint/detect examples and shadowHints - #12

Merged
linghengqian merged 1 commit into
mainfrom
chore/plugin-template-hooks
Nov 10, 2026
Merged

linghengqian merged 1 commit into
mainfrom
chore/plugin-template-hooks

Conversation

@linghengqian

Copy link
Copy Markdown
Member

Follow-up of version-fox/vfox#737 section 2: template still had only the seven older hooks.

  • hooks/fingerprint.lua: file-only VERSION example, nil when nothing to check
  • hooks/detect.lua: mise/asdf plus usr-local plus opt plus ProgramFiles example, version validation, linkable names
  • metadata.lua: commented PLUGIN.shadowHints, no minRuntimeVersion bump (old vfox ignores unknown hooks and fields)

Verified with vfox 1.1.0 plugin run (Fingerprint null and facts, Detect empty and found) and stylua check. On vfox 1.0.13 new hooks report unknown hook, as expected.

@linghengqian linghengqian added the enhancement New feature or request label Nov 10, 2026
@linghengqian
linghengqian merged commit 4a1275b into main Nov 10, 2026
2 checks passed
@linghengqian
linghengqian deleted the chore/plugin-template-hooks branch November 10, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant