Mac OS X: Prevent showing the icon on the dock.

http://code.google.com/p/phantomjs/issues/detail?id=281
1.4
Ariya Hidayat 2011-12-19 18:40:26 -08:00
parent 5528c046db
commit 24f6325308
3 changed files with 14 additions and 1 deletions

2
.gitignore vendored
View File

@ -2,7 +2,7 @@
*.pro.user*
*.xcodeproj
Makefile*
bin/
bin/phantomjs
*~
*.moc
moc_*

View File

@ -13,6 +13,7 @@ Please see also http://code.google.com/p/phantomjs/wiki/ReleaseNotes.
* Fix potential crash in QUrl with Qt 4.8 (issue 304)
* Fix bug in CookieJar with QSettings and string (PyPhantomJS issue 10)
* Prevent showing the icon on Mac OS X Dock (issue 281)
Examples

12
bin/Info.plist Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
<key>CFBundleExecutable</key>
<string>phantomjs</string>
<key>CFBundleIdentifier</key>
<string>org.phantomjs</string>
<key>LSUIElement</key>
<string>1</string>
</dict>
</plist>