mirror of
https://github.com/timsutton/brigadier.git
synced 2024-09-19 11:18:44 -04:00
7-Zip may see only one of Payload or Payload~, don't assume both exist
This commit is contained in:
parent
74b3d38cca
commit
af7ec5ee38
1 changed files with 2 additions and 1 deletions
|
@ -273,7 +273,8 @@ when running the installer out of 'system32'." % output_dir)
|
|||
for arc in [pkg_dl_path,
|
||||
os.path.join(arc_workdir, 'Payload'),
|
||||
os.path.join(arc_workdir, 'Payload~')]:
|
||||
sevenzipExtract(arc)
|
||||
if os.path.exists(arc):
|
||||
sevenzipExtract(arc)
|
||||
|
||||
dmg2iso_path = getDmg2Img()
|
||||
dmg_extract_cmd = [dmg2iso_path, '-v',
|
||||
|
|
Loading…
Reference in a new issue