fix: Don't run migration tasks on first launch

This commit is contained in:
WerWolv
2025-08-16 11:51:40 +02:00
parent 1761033cee
commit 23085372a1

View File

@@ -287,6 +287,7 @@ namespace hex::plugin::builtin {
const auto prevLaunchVersion = ContentRegistry::Settings::read<std::string>("hex.builtin.setting.general", "hex.builtin.setting.general.prev_launch_version", "");
if (prevLaunchVersion == "") {
EventFirstLaunch::post();
return;
}
const auto prevLaunchVersionParsed = SemanticVersion(prevLaunchVersion);