Skip to content

v5.9.3

Latest

Choose a tag to compare

@rhuss rhuss released this 08 Jul 07:12

Bug Fix

Windows: hooks.json bypasses Python resolver wrapper (#17)

The root hooks.json (loaded by plugin.json) was still hardcoding python3, bypassing the python-resolve.sh wrapper that was introduced in v5.9.1. This caused python3: command not found errors on Windows even after the wrapper fix.

Changes

  • spex/hooks.json: Both UserPromptSubmit and PreToolUse hooks now use python-resolve.sh instead of hardcoded python3
  • python-resolve.sh: Reordered fallback chain from python3 → python → py to python3 → py → python. On Windows, python can resolve to the Microsoft Store stub (WindowsApps\python.exe) that opens the Store instead of running code. The py launcher (Windows Python Launcher) is more reliable.

Upgrade

/plugin marketplace update spex-plugin-development
/plugin install spex@spex-plugin-development

Thanks to @Seithx for the detailed diagnosis.