added location for files to open

This commit is contained in:
J-Doiron
2024-12-23 12:26:31 -08:00
parent cde28eff2d
commit edd31947bc
2 changed files with 2 additions and 7 deletions

View File

@@ -4,11 +4,6 @@ import re
import winreg
input_file = 'input.reg'
config_file = 'config_registry.txt'
hive = winreg.HKEY_CURRENT_USER
subkey = r"SOFTWARE\Guerilla Games\Horizon Zero Dawn Remastered\Graphics"
def export_registry_key(hive, subkey, input_file):
try:
with winreg.OpenKey(hive,subkey) as reg_key: