diff --git a/bin/package.js b/bin/package.js index e9be096b..d8f875b8 100755 --- a/bin/package.js +++ b/bin/package.js @@ -156,9 +156,11 @@ function postDarwinism () { infoPlist['CFBundleDocumentTypes'] = [{ CFBundleTypeExtensions: [ 'torrent' ], + CFBundleTypeIconFile: 'WebTorrentFile.icns', CFBundleTypeName: 'BitTorrent Document', CFBundleTypeRole: 'Editor', - CFBundleTypeIconFile: 'WebTorrentFile.icns' + LSHandlerRank: 'Owner', + LSItemContentTypes: [ 'org.bittorrent.torrent' ] }] fs.writeFileSync(infoPlistPath, plist.build(infoPlist))