mirror of
https://github.com/86Box/bios-tools.git
synced 2026-02-24 02:18:21 -07:00
Add auto-rename option to 7-Zip invocation, fixes Siemens Nixdorf WinImage SFX
This commit is contained in:
@@ -212,7 +212,7 @@ class ArchiveExtractor(Extractor):
|
||||
|
||||
# Run 7z command to extract the archive.
|
||||
# The dummy password prevents any password prompts from stalling 7z.
|
||||
subprocess.run(['7z', 'x', '-y', '-ppassword', '--', link_path], stdout=self._devnull, stderr=subprocess.STDOUT, cwd=dest_dir)
|
||||
subprocess.run(['7z', 'x', '-y', '-aou', '-ppassword', '--', link_path], stdout=self._devnull, stderr=subprocess.STDOUT, cwd=dest_dir)
|
||||
|
||||
# Remove temporary symlink.
|
||||
if link_path != file_path_abs:
|
||||
|
||||
Reference in New Issue
Block a user