Skip to content

Commit 3591816

Browse files
authored
Properly search the filesystem instead of simply detecting the filename in the bytestream (#512)
* Properly search the filesystem instead of simply detecting the filename in the bytestream. Fixes #511. * Various improvements to arm_chromeos * More arm_chromeos improvements
1 parent 84e6c36 commit 3591816

File tree

2 files changed

+158
-98
lines changed

2 files changed

+158
-98
lines changed

lib/inputstreamhelper/widevine/arm.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,9 @@ def extract_widevine(backup_path, image_path, image_version):
137137
progress = progress_dialog()
138138
progress.create(heading=localize(30043), message=localize(30044)) # Extracting Widevine CDM
139139

140-
extracted = ChromeOSImage(image_path).extract_file(
140+
extracted = ChromeOSImage(image_path, progress=progress).extract_file(
141141
filename=config.WIDEVINE_CDM_FILENAME[system_os()],
142-
extract_path=os.path.join(backup_path, image_version),
143-
progress=progress)
142+
extract_path=os.path.join(backup_path, image_version))
144143

145144
if not extracted:
146145
log(4, 'Extracting widevine from the zip failed!')

0 commit comments

Comments
 (0)