Skip to content

Commit

Permalink
Merge pull request #35 from markszabo/more-general-getMachOExecutable
Browse files Browse the repository at this point in the history
Make getMachOExecutable more general
  • Loading branch information
dpnishant authored Jun 13, 2017
2 parents c87af63 + afc9e84 commit 97ea268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipa_installer/ipa_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def getMachOExecutable(app_path):
path = os.path.join(app_path, filename)
if not os.path.isdir(path):
output = subprocess.check_output(['file', path])
if "Mach-O universal binary" in output:
if "Mach-O" in output:
output = output.split(":")[0]
break
return os.path.join(app_path, output)
Expand Down

0 comments on commit 97ea268

Please sign in to comment.