Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Patched gyp to fix mac_bundle_resources
Browse files Browse the repository at this point in the history
copy-bundle-resources defaults to not converting to binary.
  • Loading branch information
1ec5 committed Dec 5, 2015
1 parent ebb9f40 commit d6099fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/gyp/pylib/gyp/mac_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _CommandifyName(self, name_string):
"""Transforms a tool name like copy-info-plist to CopyInfoPlist"""
return name_string.title().replace('-', '')

def ExecCopyBundleResource(self, source, dest, convert_to_binary):
def ExecCopyBundleResource(self, source, dest, convert_to_binary=False):
"""Copies a resource file to the bundle/Resources directory, performing any
necessary compilation on each resource."""
extension = os.path.splitext(source)[1].lower()
Expand Down Expand Up @@ -138,7 +138,7 @@ def _DetectInputEncoding(self, file_name):
else:
return None

def ExecCopyInfoPlist(self, source, dest, convert_to_binary, *keys):
def ExecCopyInfoPlist(self, source, dest, convert_to_binary=False, *keys):
"""Copies the |source| Info.plist to the destination directory |dest|."""
# Read the source Info.plist into memory.
fd = open(source, 'r')
Expand Down

0 comments on commit d6099fb

Please sign in to comment.