diff --git a/proton b/proton index cbba9aca..97f82057 100755 --- a/proton +++ b/proton @@ -463,39 +463,6 @@ if "WINEDLLOVERRIDES" in os.environ: else: env["WINEDLLOVERRIDES"] = s -ARCH_UNKNOWN=0 -ARCH_I386=1 -ARCH_X86_64=2 -def determine_architecture(path): - #algorithm from file's msdos magic file - try: - with open(path, "rb") as f: - magic = f.read(2) - if magic != b"MZ": - return ARCH_UNKNOWN - f.seek(0x18) - reloc = struct.unpack('