fix version being deleted after install

This commit is contained in:
bluepilledgreat 2023-10-04 18:05:15 +01:00
parent 78d345fd8f
commit 6dafc220b3

View File

@ -954,6 +954,9 @@ namespace Bloxstrap
appFlagsKey.DeleteValue(oldGameClientLocation);
}
}
}
_versionGuid = _latestVersionGuid;
// delete any old version folders
// we only do this if roblox isnt running just in case an update happened
@ -978,9 +981,6 @@ namespace Bloxstrap
}
}
}
}
_versionGuid = _latestVersionGuid;
// don't register program size until the program is registered, which will be done after this
if (!App.IsFirstRun && !FreshInstall)