Browse Source

Added document icon for Mac (Mirco Chinelli)

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
efe1655834
  1. BIN
      src/Icons/qBitTorrentDocument.icns
  2. 10
      src/Info.plist
  3. 4
      src/src.pro

BIN
src/Icons/qBitTorrentDocument.icns

Binary file not shown.

10
src/Info.plist

@ -10,13 +10,13 @@ @@ -10,13 +10,13 @@
<string>torrent</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>qbittorrentDocument</string>
<string>qBitTorrentDocument</string>
<key>CFBundleTypeName</key>
<string>BitTorrent Document</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>application/x-bittorrent</string>
</array>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>application/x-bittorrent</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>

4
src/src.pro

@ -76,6 +76,10 @@ macx { @@ -76,6 +76,10 @@ macx {
INCLUDEPATH += /usr/local/include/libtorrent /usr/include/openssl /usr/include /opt/local/include/boost /opt/local/include
LIBS += -ltorrent-rasterbar -lcrypto -L/opt/local/lib -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -framework Cocoa
document_icon.path = Contents/Resources
document_icon.files = Icons/qBitTorrentDocument.icns
QMAKE_BUNDLE_DATA += document_icon
ICON = Icons/qbittorrent_mac.icns
QMAKE_INFO_PLIST = Info.plist
}

Loading…
Cancel
Save