1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

remove unar macOS

This commit is contained in:
Alex Xu
2024-06-25 21:04:52 -07:00
committed by GitHub
parent 4fc5cc9dfb
commit 1bd7506140

View File

@@ -70,9 +70,6 @@ class ComicArchive:
, stdout=PIPE, stderr=STDOUT)
if process.returncode != 0:
raise OSError(EXTRACTION_ERROR)
elif process.returncode != 0 and platform.system() == 'Darwin':
process = subprocess_run_silent(['unar', self.filepath, '-f', '-o', targetdir],
stdout=PIPE, stderr=STDOUT)
elif process.returncode != 0:
raise OSError(EXTRACTION_ERROR)
return targetdir