fix(common): remove installed check
This commit is contained in:
@ -219,8 +219,6 @@ def install_archive(game: GameABC, archive_file: Path | IOBase) -> None:
|
|||||||
`install_archive()` method instead, which additionally applies required
|
`install_archive()` method instead, which additionally applies required
|
||||||
methods for that game.
|
methods for that game.
|
||||||
"""
|
"""
|
||||||
if game.is_installed():
|
|
||||||
raise GameAlreadyInstalledError("Game is already installed.")
|
|
||||||
archive = _open_archive(archive_file)
|
archive = _open_archive(archive_file)
|
||||||
archive.extractall(game.path)
|
archive.extractall(game.path)
|
||||||
archive.close()
|
archive.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user