FIX: SevenZip - get plugin path

This commit is contained in:
Alexander Koblov 2024-11-04 21:25:03 +03:00
commit 51161fb569

View file

@ -496,7 +496,7 @@ begin
ConfigFile:= ExtractFilePath(dps^.DefaultIniName);
ConfigFile:= WinCPToUTF8(ConfigFile) + DefaultIniName;
// Get plugin path
ModulePath:= mbGetModuleName;
ModulePath:= ExtractFilePath(mbGetModuleName);
// Use configuration from plugin path
if mbFileExists(ModulePath + DefaultIniName) then
begin