From 87bbcc627d4cc58c42996f1d88364047b0349dd6 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Mon, 25 Mar 2019 11:10:40 -0500 Subject: [PATCH] proton: Don't use start.exe for unknown executable types Wine seems to handle this better now than it did in 3.7. It can launch Doom 2's batch scripts directly, so this is no longer helpful. --- proton | 44 ++------------------------------------------ 1 file changed, 2 insertions(+), 42 deletions(-) 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('