From 6af8c2a4507f2ea6a5ca8a27dc18155d586618fa Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Fri, 27 Dec 2024 17:56:41 +0000 Subject: [PATCH] force reinstallation on upgrade --- Bloxstrap/Installer.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Bloxstrap/Installer.cs b/Bloxstrap/Installer.cs index dbd5be8..f63df61 100644 --- a/Bloxstrap/Installer.cs +++ b/Bloxstrap/Installer.cs @@ -575,8 +575,16 @@ namespace Bloxstrap } } + if (Utilities.CompareVersions(existingVer, "2.8.3") == VersionComparison.LessThan) + { + // force reinstallation + App.State.Prop.Player.VersionGuid = ""; + App.State.Prop.Studio.VersionGuid = ""; + } + App.Settings.Save(); App.FastFlags.Save(); + App.State.Save(); } if (currentVer is null)