-
-
Notifications
You must be signed in to change notification settings - Fork 716
A portable copy launched immediately after creation now correctly uses its own configuration #18443
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
Conversation
…s its own configuration
What will happen with a portable copy that updates itself? I think it is desirable that in that case, the portable copy keeps the command line flags. |
How can I perform test with an NVDA generated from a dev branch? The update mechanism is disabled in this case. |
@CyrilleB79 You'll need to set updateVersionType to
|
OK I have finally been able to test portable update.
I can confirm that during the update and after it when NVDA portable is relaunched, the alternative config folder (with Paul) is still being used, what is expected. |
# Conflicts: # user_docs/en/changes.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @CyrilleB79
Link to issue number:
Closes #18442
Fix-up of #16937
Summary of the issue:
When creating a portable NVDA and asking to launch it immediately after creation, the portable copy does not use its own config, but the one of the NVDA it had been created from.
In #16937, we propagate
--disable-addons
as well as-c
/--config-path
for security reasons so that an administrator can update from a user account using their own config folder, without risking to use malicious add-ons in the user's configuration (see GHSA-727q-h8j2-6p45).Description of developer facing changes:
N/A
Description of development approach:
Testing strategy:
-c
flagKnown issues with pull request:
None
Code Review Checklist:
@coderabbitai summary