Merge Mach-O bundles too

This commit is contained in:
Micah Lee 2023-10-17 16:31:30 -07:00
parent f3419e9122
commit 25e92ba9a1
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -16,6 +16,7 @@ def get_binary_arches(app_dir):
out = subprocess.check_output(["file", filename]).decode("utf-8")
if (
"Mach-O 64-bit executable" in out
or "Mach-O 64-bit bundle" in out
or "Mach-O 64-bit dynamically linked shared library" in out
):
arm64, x86 = False, False