Skip to content

Commit

Permalink
Weed out some potential bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Oct 6, 2024
1 parent 031b5a8 commit 9470332
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions Bloxstrap/Bootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -604,9 +604,6 @@ private async Task UpgradeRoblox()
{
App.Logger.WriteLine(LOG_IDENT, "Could not delete executable/folder, Roblox may still be running. Aborting update.");
App.Logger.WriteException(LOG_IDENT, ex);

Directory.Delete(AppData.Directory);

return;
}

Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/Installer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ public static void HandleUpgrade()

App.FastFlags.SetValue("FFlagFixGraphicsQuality", null);

Directory.Delete(Path.Combine(Paths.Base, "Versions"));
Directory.Delete(Path.Combine(Paths.Base, "Versions"), true);
}

App.Settings.Save();
Expand Down

0 comments on commit 9470332

Please sign in to comment.