зеркало из https://github.com/mozilla/pjs.git
part of Bug #245430 --> thunderbird static build support.
Get rid of the mail\config packaging of chrome into dist\thunderbird. Let the installer do it as part of the packaging process. This means we can get rid of the thunderbird installer ifdefs to look in dist\thunderbird instead of dist\bin.
This commit is contained in:
Родитель
84a3c2ac4a
Коммит
ed36020a97
|
@ -3171,11 +3171,7 @@ void GetXpinstallPath(char *aPath, int aPathBufSize)
|
|||
{
|
||||
MozCopyStr(siCFXpcomFile.szDestination, aPath, aPathBufSize);
|
||||
AppendBackSlash(aPath, aPathBufSize);
|
||||
#ifdef MOZ_THUNDERBIRD
|
||||
lstrcat(aPath, "thunderbird");
|
||||
#else
|
||||
lstrcat(aPath, "bin");
|
||||
#endif
|
||||
}
|
||||
else
|
||||
MozCopyStr(gGre.homePath, aPath, aPathBufSize);
|
||||
|
|
|
@ -521,11 +521,7 @@ HRESULT ProcessXpcomFile()
|
|||
lstrcpy(szDestination, siCFXpcomFile.szDestination);
|
||||
AppendBackSlash(szDestination, sizeof(szDestination));
|
||||
|
||||
#ifdef MOZ_THUNDERBIRD
|
||||
lstrcat(szDestination, "thunderbird");
|
||||
#else
|
||||
lstrcat(szDestination, "bin");
|
||||
#endif
|
||||
|
||||
FileCopy(szSource, szDestination, TRUE, FALSE);
|
||||
return(FO_SUCCESS);
|
||||
|
|
Загрузка…
Ссылка в новой задаче