chore: clear errors

This commit is contained in:
aclist committed 2026-05-05 22:46:16 +09:00
1 parent f3ad104b1b
commit e64feac425
19 files changed
+56 -72

No files matched your search

+3 -4
View File
@@ -28,19 +28,18 @@ def rebuild_symlinks(config: Path) -> None:
source = Path(dayz_path / md5sum)
if source.exists() is False:
source.symlink_to(workshop / uid)
clone_symlinks(steam_path)
def clone_symlinks(config: Path) -> None:
def clone_symlinks(steam_path: Path) -> None:
"""
Used after any symlink operation
"""
path = lookup(config, Preferences.DEFAULT)
steam_path = Path(path)
try:
dayz_path = PeFile.get_nested_app_path(steam_path, APPID_DAYZ)
exp_path = PeFile.get_nested_app_path(steam_path, APPID_DAYZ_EXP)
except Exception as e:
logger.critical(e)
logger.warning(e)
return
# TODO: test these two operations