Skip to content

Commit

Permalink
removed old documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jwlkns committed Jun 28, 2023
1 parent 6cb9ab5 commit d4ee9b1
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@ def set_game_dir(self, dir: pathlib.Path):
Args:
dir (pathlib.Path): The directory to be set
Returns:
bool: True if successful
"""
aoe_binary = dir / "AoE2DE_s.exe"

Expand Down Expand Up @@ -242,9 +239,6 @@ def _download_patch(self, username: str, password: str, target_version: int):

def _move_patch(self):
"""Move downloaded patch files to game directory.
Returns:
bool: True if successful
"""
try:
shutil.copytree(self.download_dir.absolute(), self.game_dir.absolute(), dirs_exist_ok=True)
Expand All @@ -253,9 +247,6 @@ def _move_patch(self):

def _backup(self):
"""Backup game folder and in current directory.
Returns:
bool: True if successful
"""
try:
# Remove previous backup folder if it exists
Expand Down Expand Up @@ -346,9 +337,6 @@ def _download_manifest(self, username: str, password: str, depot_id: int, manife
Raises:
ConnectionError: If there was an error during authentication
Returns:
bool: True if successful
"""
args = ["-app", str(self.app_id),
"-depot", str(depot_id),
Expand All @@ -373,9 +361,6 @@ def _download_depot(self, username: str, password: str, depot_id: int, manifest_
Raises:
ConnectionError: If there was an error during authentication
Returns:
bool: True if successful
"""
args = ["-app", str(self.app_id),
"-depot", str(depot_id),
Expand Down

0 comments on commit d4ee9b1

Please sign in to comment.