canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.72k stars 641 forks source link

Add multipass to `App Paths` instead of `PATH` #3369

Closed soredake closed 8 months ago

soredake commented 8 months ago

What are you trying to do? PATH can become too long and installer will give you this warning: PATH too long error

Using App Paths instead of PATH will avoid this problem.

What's your proposed solution? Adding something like in installer (really easy): https://github.com/thonny/thonny/blob/e9b8b82f671f4cfee8c9042569706d200d26da96/packaging/windows/inno_setup.iss#L103-L108

Additional context https://learn.microsoft.com/en-us/windows/win32/shell/app-registration

ricab commented 8 months ago

Thanks for the suggestion @soredake.

soredake commented 8 months ago

Oops, my bad, powershell/pwsh do not use App Paths at all, they only use PATH.