diff --git a/src/osx.coffee b/src/osx.coffee index 75276c9c5..0b68c196d 100644 --- a/src/osx.coffee +++ b/src/osx.coffee @@ -118,6 +118,9 @@ File = expand: (path) -> if /~/.test path OSX.NSString.stringWithString(path).stringByExpandingTildeInPath + else if path.indexOf('./') is 0 + root = OSX.NSBundle.mainBundle.resourcePath + "#{root}/#{path}" else path isFile: (path) ->