Skip to content

Commit 876fedc

Browse files
committed
Do not delete source directory after install
1 parent b7dff62 commit 876fedc

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Client/loader/Install.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -837,13 +837,6 @@ static int RunInstall()
837837
}
838838

839839
OutputDebugLine(SString("RunInstall: Installation of %zu files complete", files.size()));
840-
841-
// Switch to the source directory's parent to finally delete the source directory.
842-
if (SetCurrentDirectory(ExtractPath(sourceRoot)))
843-
{
844-
DirectoryDeleteScope deleteSourceRoot(sourceRoot);
845-
}
846-
847840
return 0;
848841
}
849842

0 commit comments

Comments
 (0)