fix: resolve #308

This commit is contained in:
aclist committed 2026-05-26 03:52:11 +09:00
1 parent d60204b676
commit 00c27ad020
1 file changed
+3
+3
View File
@@ -43,6 +43,7 @@ def clone_symlinks(steam_path: Path) -> None:
# TODO: test these two operations # TODO: test these two operations
# use less time intensive logic like the above # use less time intensive logic like the above
try:
for file in exp_path.iterdir(): for file in exp_path.iterdir():
if file.is_symlink(): if file.is_symlink():
file.unlink() file.unlink()
@@ -51,3 +52,5 @@ def clone_symlinks(steam_path: Path) -> None:
if file.is_symlink(): if file.is_symlink():
uid = file.name uid = file.name
Path(exp_path / uid).symlink_to(dayz_path / uid) Path(exp_path / uid).symlink_to(dayz_path / uid)
except Exception as e:
logger.critical(e)