{"action":"created","issue":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/291","labels_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/291/comments","events_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/291/events","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/291","id":76783039,"number":291,"title":"Dock Icon not hidden","user":{"login":"electrovir","id":1205860,"avatar_url":"https://avatars.githubusercontent.com/u/1205860?v=3","gravatar_id":"","url":"https://api.github.com/users/electrovir","html_url":"https://github.com/electrovir","followers_url":"https://api.github.com/users/electrovir/followers","following_url":"https://api.github.com/users/electrovir/following{/other_user}","gists_url":"https://api.github.com/users/electrovir/gists{/gist_id}","starred_url":"https://api.github.com/users/electrovir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electrovir/subscriptions","organizations_url":"https://api.github.com/users/electrovir/orgs","repos_url":"https://api.github.com/users/electrovir/repos","events_url":"https://api.github.com/users/electrovir/events{/privacy}","received_events_url":"https://api.github.com/users/electrovir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-05-15T16:40:11Z","updated_at":"2015-08-03T00:26:40Z","closed_at":null,"body":"I've deselected \"Show dock icon\" in Hammerspoon Preferences but the dock icon persists.  Visibility for the menu icon works as expected.\r\n\r\nI've even tried using the console.  After calling hs.dockicon.hide(), hs.dockicon.visible() returns false but the icon is still there in the dock.\r\n\r\nI'm running OS X 10.8.5."},"comment":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/comments/127090704","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/291#issuecomment-127090704","issue_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/291","id":127090704,"user":{"login":"asmagill","id":8139480,"avatar_url":"https://avatars.githubusercontent.com/u/8139480?v=3","gravatar_id":"","url":"https://api.github.com/users/asmagill","html_url":"https://github.com/asmagill","followers_url":"https://api.github.com/users/asmagill/followers","following_url":"https://api.github.com/users/asmagill/following{/other_user}","gists_url":"https://api.github.com/users/asmagill/gists{/gist_id}","starred_url":"https://api.github.com/users/asmagill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmagill/subscriptions","organizations_url":"https://api.github.com/users/asmagill/orgs","repos_url":"https://api.github.com/users/asmagill/repos","events_url":"https://api.github.com/users/asmagill/events{/privacy}","received_events_url":"https://api.github.com/users/asmagill/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T00:26:40Z","updated_at":"2015-08-03T00:26:40Z","body":"To avoid dealing with changes to the core app that I'm not really sure I understand (since if things worked the way I understand the docs, dock hiding shouldn't be working at all in any version),  I recommend adding the code at https://gist.github.com/asmagill/4998ccee1a95c211844f to your .hammerspoon directory... if you load the file as recommended in the comments, it will check the Info.plist file and edit it for you.\r\n\r\nThis code does require hs.host.operatingSystemVersion... I don't remember if this is in the latest release or not, but has been applied to the repository, so it will be in the next if it's not already .\r\n"}}