ReserveFile /plugin now searches folders added with !AddPluginDir
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6591 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
6361cfb1f6
commit
c679845ad6
3 changed files with 17 additions and 5 deletions
|
@ -233,6 +233,14 @@ bool Plugins::Initialize(const TCHAR*arcsubdir, bool displayInfo)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool Plugins::FindDllPath(const tstring filename, tstring&dllPath)
|
||||
{
|
||||
tstring dllName = remove_file_extension(filename);
|
||||
if (!contains(m_dllname_to_path, dllName)) return false;
|
||||
dllPath = get_paired_value(m_dllname_to_path, dllName);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Plugins::GetCommandInfo(const tstring&command, tstring&canoniccmd, tstring&dllPath)
|
||||
{
|
||||
const tstring dllname = GetDllName(command);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue