mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 05:55:59 +03:00
Fix make_universal.py not taking into account 64-bit bundle dylibs
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
89c91dd4c3
commit
d82c342d7e
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue