impr: Allow plugins to be loaded in debug builds
This commit is contained in:
parent
f5c529b2b3
commit
4c06fd2fb8
@ -107,7 +107,8 @@ namespace hex {
|
||||
|
||||
|
||||
const auto requestedVersion = getCompatibleVersion();
|
||||
if (requestedVersion != ImHexApi::System::getImHexVersion()) {
|
||||
const auto imhexVersion = ImHexApi::System::getImHexVersion();
|
||||
if (!imhexVersion.starts_with(requestedVersion)) {
|
||||
if (requestedVersion.empty()) {
|
||||
log::warn("Plugin '{}' did not specify a compatible version, assuming it is compatible with the current version of ImHex.", wolv::util::toUTF8String(m_path.filename()));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user