mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-25 22:29:07 +00:00
r=bsdmedberg Allow install.rdf to exist in an XPI for installer builds
This commit is contained in:
parent
57b0b4261b
commit
f8c6f64a36
@ -500,7 +500,7 @@ extern "C" void RunInstallOnThread(void *data)
|
||||
if (finalStatus == nsInstall::SUCCESS)
|
||||
{
|
||||
#ifdef MOZ_XUL_APP
|
||||
if (NS_SUCCEEDED(hZip->Test("install.rdf")))
|
||||
if (NS_SUCCEEDED(hZip->Test("install.rdf")) && !(nsSoftwareUpdate::GetProgramDirectory()))
|
||||
{
|
||||
hZip->Close();
|
||||
// appears to be an Extension Manager install
|
||||
|
Loading…
x
Reference in New Issue
Block a user