feat: Added system to handle version migrations

This commit is contained in:
WerWolv
2024-12-26 14:00:50 +01:00
parent 9ce64ec6e1
commit 43c88a2fab
18 changed files with 178 additions and 31 deletions

View File

@@ -630,7 +630,7 @@ namespace hex {
}
runtime.addDefine("__IMHEX__");
runtime.addDefine("__IMHEX_VERSION__", ImHexApi::System::getImHexVersion());
runtime.addDefine("__IMHEX_VERSION__", ImHexApi::System::getImHexVersion().get());
}
void addPragma(const std::string &name, const pl::api::PragmaHandler &handler) {