From 569917cb4b99f34d8998f7e93521eac6bb98ea33 Mon Sep 17 00:00:00 2001 From: Marcus Gursch Date: Mon, 20 Nov 2023 11:37:46 +0100 Subject: [PATCH] adapt to python 3.12 changes Co-authored-by: mtnorthcott --- er-patcher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/er-patcher b/er-patcher index 7292dbe..72a75a6 100755 --- a/er-patcher +++ b/er-patcher @@ -134,7 +134,7 @@ if __name__ == "__main__": if f.name in ["eldenring.exe", "er-patcher"]: continue if not (game_dir_patched / f).is_file(): - f.link_to(game_dir_patched / f) + (game_dir_patched / f).hardlink_to(f) # start patched exe directly to avoid EAC steam_cmd = sys.argv[1 + sys.argv.index("--"):]