Feat: Include 'start_protected_game.exe' in the tmp folder

This commit is contained in:
João Pedro Rodrigues Prates Braz 2022-04-21 01:02:55 -03:00
parent 771663eabf
commit 0afbe0c4f1

View file

@ -127,7 +127,7 @@ if __name__ == "__main__":
# to handle but by default windows 10 doesn't allow them # to handle but by default windows 10 doesn't allow them
game_files = [f for f in game_dir.rglob("*") if f.is_file()] game_files = [f for f in game_dir.rglob("*") if f.is_file()]
for f in game_files: for f in game_files:
if f.name in ["eldenring.exe", "start_protected_game.exe", "er-patcher"]: if f.name in ["eldenring.exe", "er-patcher"]:
continue continue
if not (game_dir_patched / f).is_file(): if not (game_dir_patched / f).is_file():
f.link_to(game_dir_patched / f) f.link_to(game_dir_patched / f)