mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-13 23:28:16 +03:00
Revert "pefixup: Add timestamps to PE fixup step"
This reverts commit 74a40b17aa2003378bb48d2adb07d9bbe010d26b. To prevent people from running Destiny 2 so they won't get banned.
This commit is contained in:
parent
f52e7c9cb1
commit
2a79f04f67
@ -13,8 +13,6 @@ for path in sys.argv[1:]:
|
||||
section.Characteristics &= ~pefile.SECTION_CHARACTERISTICS['IMAGE_SCN_CNT_INITIALIZED_DATA']
|
||||
section.Characteristics &= ~pefile.SECTION_CHARACTERISTICS['IMAGE_SCN_ALIGN_MASK']
|
||||
|
||||
pe.FILE_HEADER.TimeDateStamp = 1622588288
|
||||
|
||||
pe.OPTIONAL_HEADER.CheckSum = pe.generate_checksum()
|
||||
|
||||
perm = stat.S_IMODE(os.stat(path).st_mode)
|
||||
|
Loading…
x
Reference in New Issue
Block a user