Skip to content

Commit

Permalink
Delete temp MLC directory
Browse files Browse the repository at this point in the history
  • Loading branch information
FarisR99 committed Mar 29, 2022
1 parent 8e513e9 commit 271b027
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions IMLCGui/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,11 @@ private void BtnConfigureDownload_Click(object sender, RoutedEventArgs e)
FileUtils.CopyAndMove(mlcWindowsPath, finalMLCPath);
FileUtils.Delete(mlcWindowsPath);
this._logger.Log($"Moved MLC to \"{finalMLCPath}\"");
if (FileUtils.DoesExist(extractedZipDirectory))
{
this._logger.Log($"Deleting temporary MLC directory at \"{extractedZipDirectory}");
FileUtils.Delete(extractedZipDirectory);
}
Dispatcher.Invoke(() =>
{
this.WriteToConfigureLog($"Extracted MLC to: {finalMLCPath}");
Expand Down

0 comments on commit 271b027

Please sign in to comment.