From 23085372a179a9147bdb730e5f0e89b213cdd693 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 16 Aug 2025 11:51:40 +0200 Subject: [PATCH] fix: Don't run migration tasks on first launch --- plugins/builtin/source/content/events.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/builtin/source/content/events.cpp b/plugins/builtin/source/content/events.cpp index e229c8985..2f4f75c16 100644 --- a/plugins/builtin/source/content/events.cpp +++ b/plugins/builtin/source/content/events.cpp @@ -287,6 +287,7 @@ namespace hex::plugin::builtin { const auto prevLaunchVersion = ContentRegistry::Settings::read("hex.builtin.setting.general", "hex.builtin.setting.general.prev_launch_version", ""); if (prevLaunchVersion == "") { EventFirstLaunch::post(); + return; } const auto prevLaunchVersionParsed = SemanticVersion(prevLaunchVersion);