Skip to content

Commit

Permalink
log last launch version in saved json
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Feb 11, 2024
1 parent aa490aa commit 130a842
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ void loadManagers() {
//BetterInfoStatsV2::sharedState();
BetterInfoCache::sharedState();
}).detach();

Mod::get()->setSavedValue<std::string>("last_launch_version", Mod::get()->getVersion().toString());
}

class $modify(MenuLayer) {
Expand Down

0 comments on commit 130a842

Please sign in to comment.