seabrookmx 3 days ago

I haven't done dev on windows in many years, but IIRC windows doesn't have shebang support.

1
magicalhippo 3 days ago

But it does support registering extension handlers[1], so if you name your scripts with say .pyuv and register "uv run --script %1", or whatever it would take to run uv, as the handler of .pyuv files, it should work. Unless uv does something funky that is.

You could do this during an installation step, for example.

[1]: https://learn.microsoft.com/en-us/windows/win32/shell/fa-fil...