Is your feature request related to a problem? Please describe.
When creating portable copies of NVDA, as I do often for testing and debugging, having to type full paths into the installer or create portable dialog, when I know there are variables containing those paths and we could be using them, is irksome.
Describe the solution you'd like
When creating portable copies of NVDA, allow use of system variables such as %temp% or %userprofile%, as most/all of the rest of Windows does in its path entry dialogs.
This can be done with a simple call to os.path.expandvars() while path parsing behind the portable creation dialog.
Describe alternatives you've considered
Leave it like it is. It isn't a major problem, just an annoyance; but neither is the fix a difficult one.
Additional context:
Note that the desired behavior is already possible, if system variables are entered in the path field which appears in the "browse" sub-dialog. It is only in the main portable creation dialog that one can't do this.
I remember someone else asking for this, a year or more back. But I couldn't find an issue with the keywords I tried.
Is your feature request related to a problem? Please describe.
When creating portable copies of NVDA, as I do often for testing and debugging, having to type full paths into the installer or create portable dialog, when I know there are variables containing those paths and we could be using them, is irksome.
Describe the solution you'd like
When creating portable copies of NVDA, allow use of system variables such as
%temp%or%userprofile%, as most/all of the rest of Windows does in its path entry dialogs.This can be done with a simple call to
os.path.expandvars()while path parsing behind the portable creation dialog.Describe alternatives you've considered
Leave it like it is. It isn't a major problem, just an annoyance; but neither is the fix a difficult one.
Additional context:
Note that the desired behavior is already possible, if system variables are entered in the path field which appears in the "browse" sub-dialog. It is only in the main portable creation dialog that one can't do this.
I remember someone else asking for this, a year or more back. But I couldn't find an issue with the keywords I tried.