Merge pull request #7027 from nextcloud/bugfix/make_universal

Fix make_universal.py not taking into account 64-bit bundle dylibs
This commit is contained in:
Matthieu Gallien 2024-09-09 09:11:33 +02:00 committed by GitHub
commit b6c439ffc8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,8 @@ def path_relative_to_package(app_package_file_path, file_path):
def is_executable(file_path): def is_executable(file_path):
output = str(execute(["file", file_path])) output = str(execute(["file", file_path]))
if (("Mach-O 64-bit dynamically linked shared library" in output) if (("Mach-O 64-bit dynamically linked shared library" in output)
or ("Mach-O 64-bit executable" in output)): or ("Mach-O 64-bit executable" in output)
or ("Mach-O 64-bit bundle" in output)):
return True return True
return False return False