Portable Mode should have a consistent way to refer to the root of the portable install #15379
Labels
Area-Portable
portable mode
Issue-Feature
Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Needs-Tag-Fix
Doesn't match tag requirements
Product-Terminal
The new Windows Terminal.
Milestone
Description of the new feature/enhancement
In order to pass in a portable powershell profile to
"commandline"
, we need a way to refer to the root of the portable install. We got around this issue in"backgroundImage"
by usingms-appx:///
, however, here, we're just passing the string straight over to PowerShell so it can be resolved there.Proposed technical implementation details (optional)
It seems like it has to be an environment variable, because that's the only way shells are going to know about it. Perhaps something like
%WT_PORTABLE_ROOT%
.The text was updated successfully, but these errors were encountered: