diff --git a/er-patcher b/er-patcher index 72a75a6..f328e0d 100755 --- a/er-patcher +++ b/er-patcher @@ -134,7 +134,10 @@ if __name__ == "__main__": if f.name in ["eldenring.exe", "er-patcher"]: continue if not (game_dir_patched / f).is_file(): - (game_dir_patched / f).hardlink_to(f) + if sys.version_info.minor >= 10: + (game_dir_patched / f).hardlink_to(f) + else: + f.link_to(game_dir_patched / f) # start patched exe directly to avoid EAC steam_cmd = sys.argv[1 + sys.argv.index("--"):]