sys: Add imhex/lib path to plugin libraries search paths

This commit is contained in:
WerWolv
2023-01-07 10:32:01 +01:00
parent 27cf5953ae
commit c26bed894b
6 changed files with 25 additions and 0 deletions

View File

@@ -101,6 +101,7 @@ namespace hex::fs {
Scripts,
Inspectors,
Themes,
Libraries,
END
};

View File

@@ -226,6 +226,9 @@ namespace hex::fs {
case ImHexPath::Plugins:
result = appendPath(getPluginPaths(), "plugins");
break;
case ImHexPath::Libraries:
result = appendPath(getPluginPaths(), "lib");
break;
case ImHexPath::Resources:
result = appendPath(getDataPaths(), "resources");
break;