- Fixed a bug in the dll export scanner (spotted and cured by CodeSquid)
- Fixed a bug in the installer runtime (spotted by CodeSquid) - Renamed all usage of ExternalCommand to Plugin - Added a compile time PluginDir command git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@650 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
334dad1e15
commit
7e6be3cf1e
11 changed files with 76 additions and 59 deletions
|
@ -1824,18 +1824,18 @@ void CEXEBuild::print_warnings()
|
|||
|
||||
// Added by Ximon Eighteen 5th August 2002
|
||||
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
|
||||
void CEXEBuild::build_external_command_table(void)
|
||||
void CEXEBuild::build_plugin_table(void)
|
||||
{
|
||||
char* nsisdir = definedlist.find("NSISDIR");
|
||||
if (nsisdir)
|
||||
{
|
||||
char* searchPath = new char [strlen(nsisdir)+12];
|
||||
char* searchPath = new char [strlen(nsisdir)+6];
|
||||
if (searchPath)
|
||||
{
|
||||
strcpy(searchPath,nsisdir);
|
||||
strcat(searchPath,"\\dlls\\*.dll");
|
||||
INFO_MSG("\nProcessing plugin dlls: \"%s\"\n",searchPath);
|
||||
m_externalCommands.FindCommands(searchPath,display_info?true:false);
|
||||
strcat(searchPath,"\\bin");
|
||||
INFO_MSG("\nProcessing plugin dlls: \"%s\\*.dll\"\n",searchPath);
|
||||
m_plugins.FindCommands(searchPath,display_info?true:false);
|
||||
delete[] searchPath;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue