diff --git a/ForceAutoHDR.py b/ForceAutoHDR.py index 7fb4d1e..3cd65ca 100644 --- a/ForceAutoHDR.py +++ b/ForceAutoHDR.py @@ -24,13 +24,6 @@ def add_exe_to_reg(): registry_path = fr"{base_path}\{key_name}" key = None try: - (winreg.CreateKey - (winreg.HKEY_LOCAL_MACHINE, r"Software\Microsoft\Direct3D")) - (winreg.CreateKey - (winreg.HKEY_LOCAL_MACHINE, r"Software\Microsoft\Direct3D\D3DBehaviors")) - (winreg.CreateKey - (winreg.HKEY_LOCAL_MACHINE, fr"Software\Microsoft\Direct3D\{key_name}")) - key = winreg.CreateKeyEx(winreg.HKEY_CURRENT_USER, registry_path, 0, winreg.KEY_SET_VALUE) value_name_str = key_name diff --git a/file_version_info.txt b/file_version_info.txt index faeca91..5aba280 100644 --- a/file_version_info.txt +++ b/file_version_info.txt @@ -32,12 +32,12 @@ VSVersionInfo( u'040904B0', [StringStruct(u'CompanyName', u'7gxycn08@github.com'), StringStruct(u'FileDescription', u'Force AutoHDR In Unsupported Games.'), - StringStruct(u'FileVersion', u'1.0.0.1'), + StringStruct(u'FileVersion', u'1.0.0.2'), StringStruct(u'InternalName', u'ForceAutoHDR'), StringStruct(u'LegalCopyright', u'© 7gxycn08@github.com All rights reserved.'), StringStruct(u'OriginalFilename', u'ForceAutoHDR.exe'), StringStruct(u'ProductName', u'Force Auto HDR'), - StringStruct(u'ProductVersion', u'1.0.0.1')]) + StringStruct(u'ProductVersion', u'1.0.0.2')]) ]), VarFileInfo([VarStruct(u'Translation', [0, 1200, 1033, 1252])]) ]