mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1835431 - Handle xar files with a Content (.xip) rather than a Payload (.pkg). r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D179282
This commit is contained in:
parent
c6281d6814
commit
c961698da3
@ -32,7 +32,7 @@ def unpack_sdk(url, sha256, extract_prefix, out_dir="."):
|
||||
pkg.seek(0, os.SEEK_SET)
|
||||
|
||||
for name, content in unxar(pkg):
|
||||
if name == "Payload":
|
||||
if name in ("Payload", "Content"):
|
||||
extract_payload(content, extract_prefix, out_dir)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user