diff --git a/bin/package.js b/bin/package.js index 9ba3ade2..e155d020 100755 --- a/bin/package.js +++ b/bin/package.js @@ -152,7 +152,7 @@ function postDarwinism () { 'static', 'WebTorrentFile.icns' ]) - var infoPlist = plist.parse(fs.readFileSync(infoPlistPath).toString()) + var infoPlist = plist.parse(fs.readFileSync(infoPlistPath, 'utf8')) infoPlist.CFBundleDocumentTypes = [ {