Skip to content
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

Fix file overwrite warning displayed on clean first install #2375

Merged
merged 2 commits into from
Jul 26, 2022

Conversation

ryfu-msft
Copy link
Contributor

@ryfu-msft ryfu-msft commented Jul 26, 2022

Fixes #2327

Changes:
Fixes a big where the file overwrite warning was shown on every install including clean first installs. Modified the logic so that the warning only shows if a file is removed.

Tests:
Added an E2E test that installs a portable package twice. Verifies that the warning is only shown during the second install and not the first.

Microsoft Reviewers: Open in CodeFlow

@ryfu-msft ryfu-msft requested a review from a team as a code owner July 26, 2022 16:24
@ghost ghost added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Jul 26, 2022
@ryfu-msft ryfu-msft merged commit f66e330 into microsoft:master Jul 26, 2022
@ryfu-msft ryfu-msft deleted the fixOverwriteWarning branch July 29, 2022 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

File Overwrite Warning on First Install of Portable App
2 participants