diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index 1699819e..8e06f739 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -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)