Skip to content

Commit

Permalink
Fix reinstallation bug (#791)
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Nov 3, 2023
1 parent c7f10c2 commit c4d3c5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Bloxstrap/Bootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,10 @@ public static void CheckInstall()

// in case the user is reinstalling
if (File.Exists(Paths.Application) && App.IsFirstRun)
{
Filesystem.AssertReadOnly(Paths.Application);
File.Delete(Paths.Application);
}

// check to make sure bootstrapper is in the install folder
if (!File.Exists(Paths.Application) && Environment.ProcessPath is not null)
Expand Down

0 comments on commit c4d3c5b

Please sign in to comment.