Please confirm these before moving forward.
Describe the new feature
If you set up pre-install environment variables like setx CARGO_HOME "C:\cargo" for the rustup winget package and proceed with the installations, the launched shell doesn't see this env var, my guess is because it inherits the env for the Uniget which was set before this pre-install was run.
Instead Uniget should update the environment and pass it to the newly spawned shell so that the process honors the pre-install hoooks that modify the environment
Describe how this new feature could help users
Would allow avoding the need to restart UniGetUI or reinstall the whole application after discovering it was installed to an incorrect location or something worse that depends on the environment being current
Please confirm these before moving forward.
Describe the new feature
If you set up pre-install environment variables like
setx CARGO_HOME "C:\cargo"for the rustup winget package and proceed with the installations, the launched shell doesn't see this env var, my guess is because it inherits the env for the Uniget which was set before this pre-install was run.Instead Uniget should update the environment and pass it to the newly spawned shell so that the process honors the pre-install hoooks that modify the environment
Describe how this new feature could help users
Would allow avoding the need to restart UniGetUI or reinstall the whole application after discovering it was installed to an incorrect location or something worse that depends on the environment being current