From 130a842ec6f3fde3ddd8fb81fa020007c7c36c6a Mon Sep 17 00:00:00 2001 From: Cvolton Date: Sun, 11 Feb 2024 17:10:40 +0100 Subject: [PATCH] log last launch version in saved json --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index ff0531f..e254c5c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,6 +17,8 @@ void loadManagers() { //BetterInfoStatsV2::sharedState(); BetterInfoCache::sharedState(); }).detach(); + + Mod::get()->setSavedValue("last_launch_version", Mod::get()->getVersion().toString()); } class $modify(MenuLayer) {