-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows installer and the stack_root env var #2468
Comments
Good idea, feel free to open a PR to the stable branch, with such additions. |
Completely untested yet—treat this as pseudocode for now (though I skimmed docs).
I've found the right location and sketched a PR; I'll try to compile/test/iterate later today. |
Under what conditions can a user write to |
I'd say it's a better default. For the enterprise environment, STACK_ROOT can be set. So to me it is fairly cut and dry. |
The Install/upgrade docs advises to set stack_root env variable, but does so in the hardest possible way for new users. The SET command only sets the variable for current session, after closing command prompt the variable is gone. If I have understood correctly, this variable is needed for many of the stack commands even after the initial setup.
There is too high a chance that either users don't realize they need to type the SET command again when they open new command prompt window with the intention of using stack, or they don't know they can set the variable permanently in system settings.
This is obviously not a good thing. The installer already adds %userprofile%\AppData\Roaming\local\bin to the Path variable, so the installer should also add the stack_root variable.
Thanks for your hard work in supporting Windows too. :)
The text was updated successfully, but these errors were encountered: