mpvnet-player / mpv.net

🎞 mpv.net is a media player for Windows with a modern GUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `mpvnet.com` and `mpvnet.exe` to App Paths while installing

soredake opened this issue · comments

Is your feature request related to a problem? Please describe.
Add mpvnet.com and mpvnet.exe to App Paths while installing so they will be available to use from command line without the need to add them to PATH manually from mpv.net

Describe the solution you'd like
Having code like this in installer https://github.com/thonny/thonny/blob/e9b8b82f671f4cfee8c9042569706d200d26da96/packaging/windows/inno_setup.iss#L103-L108

Describe alternatives you've considered
Adding mpvnet.com and mpvnet.exe to PATH with built-in function in mpv.net

Additional context
Another examples of installers that are doing this:
https://github.com/search?q=%22App+Paths%22+language%3A%22Inno+Setup%22&type=code
git-for-windows/git#3990
https://learn.microsoft.com/en-us/windows/win32/shell/app-registration

Using App Paths instead of PATH also avoids this situation:

Screenshot 2024-01-12 135430