mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
fix for bug#23129 - changed the structure of the output directory depending on the choice of CD autorun
This commit is contained in:
parent
7aa3c33c9c
commit
fd75610cd9
@ -575,7 +575,7 @@ int StartIB(CString parms, WIDGET *curWidget)
|
||||
_mkdir((char *)(LPCTSTR) cdPath);
|
||||
_mkdir((char *)(LPCTSTR) tempPath);
|
||||
_mkdir((char *)(LPCTSTR) workspacePath);
|
||||
_mkdir((char *)(LPCTSTR) cdshellPath);
|
||||
// _mkdir((char *)(LPCTSTR) cdshellPath);
|
||||
GetCurrentDirectory(sizeof(olddir), olddir);
|
||||
|
||||
if(SetCurrentDirectory((char *)(LPCTSTR) tempPath) == FALSE)
|
||||
@ -648,12 +648,12 @@ int StartIB(CString parms, WIDGET *curWidget)
|
||||
else
|
||||
{
|
||||
FILE *infout;
|
||||
CString infFile = cdPath + "\\autorun.inf";
|
||||
CString infFile = outputPath + "\\autorun.inf";
|
||||
infout = fopen(infFile, "w");
|
||||
if (!infout)
|
||||
exit( 3 );
|
||||
|
||||
fprintf(infout,"Seamonkey32e.exe");
|
||||
fprintf(infout,"[autorun]\nopen = .\\Core\\Seamonkey32e.exe");
|
||||
}
|
||||
CString component;
|
||||
CString configiniPath = cdPath +"\\config.ini";
|
||||
|
Loading…
Reference in New Issue
Block a user