Skip to content

Commit

Permalink
Log some intresting information while installing stockfish.
Browse files Browse the repository at this point in the history
  • Loading branch information
tage64 committed Jul 8, 2023
1 parent 4a13ed1 commit c0f1b7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chess_cli/__init__.py
Expand Up @@ -1595,7 +1595,9 @@ def install_stockfish(self) -> None:
case x:
self.poutput(f"Error: Unsupported platform: {x}")
return
self.poutput(f"Downloading Stockfish...")
engine_archive, _ = urllib.request.urlretrieve(url)
self.poutput(f"Download complete. Unpacking...")
shutil.unpack_archive(engine_archive, dir, archive_format)
urllib.request.urlcleanup()
if "stockfish" in self.engine_confs:
Expand Down

0 comments on commit c0f1b7d

Please sign in to comment.