Skip to content

Commit 0c44ada

Browse files
committed
Fix portable path removal on upgrade
1 parent 7445e1d commit 0c44ada

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AppInstallerCLICore/PortableInstaller.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ namespace AppInstaller::CLI::Portable
382382
{
383383
if (PathVariable(GetScope()).Remove(value))
384384
{
385+
InstallDirectoryAddedToPath = false;
385386
AICLI_LOG(CLI, Info, << "Removed target directory from PATH registry: " << value);
386387
}
387388
else

0 commit comments

Comments
 (0)