A portable copy launched immediately after creation now correctly uses its own configuration#18443
Merged
seanbudd merged 4 commits intonvaccess:masterfrom Aug 8, 2025
Merged
Conversation
…s its own configuration
Collaborator
|
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. |
Contributor
Author
|
How can I perform test with an NVDA generated from a dev branch? The update mechanism is disabled in this case. |
Member
|
@CyrilleB79 You'll need to set updateVersionType to
|
Contributor
Author
|
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-addonsas well as-c/--config-pathfor 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:
-cflagKnown issues with pull request:
None
Code Review Checklist:
@coderabbitai summary