{"action":"created","issue":{"url":"https://api.github.com/repos/0xbb/gpu-switch/issues/26","repository_url":"https://api.github.com/repos/0xbb/gpu-switch","labels_url":"https://api.github.com/repos/0xbb/gpu-switch/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/0xbb/gpu-switch/issues/26/comments","events_url":"https://api.github.com/repos/0xbb/gpu-switch/issues/26/events","html_url":"https://github.com/0xbb/gpu-switch/pull/26","id":153871454,"number":26,"title":"Adding OSX support.","user":{"login":"maltebargholz","id":2313316,"avatar_url":"https://avatars.githubusercontent.com/u/2313316?v=3","gravatar_id":"","url":"https://api.github.com/users/maltebargholz","html_url":"https://github.com/maltebargholz","followers_url":"https://api.github.com/users/maltebargholz/followers","following_url":"https://api.github.com/users/maltebargholz/following{/other_user}","gists_url":"https://api.github.com/users/maltebargholz/gists{/gist_id}","starred_url":"https://api.github.com/users/maltebargholz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maltebargholz/subscriptions","organizations_url":"https://api.github.com/users/maltebargholz/orgs","repos_url":"https://api.github.com/users/maltebargholz/repos","events_url":"https://api.github.com/users/maltebargholz/events{/privacy}","received_events_url":"https://api.github.com/users/maltebargholz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-09T21:13:30Z","updated_at":"2016-05-09T22:39:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/0xbb/gpu-switch/pulls/26","html_url":"https://github.com/0xbb/gpu-switch/pull/26","diff_url":"https://github.com/0xbb/gpu-switch/pull/26.diff","patch_url":"https://github.com/0xbb/gpu-switch/pull/26.patch"},"body":"I have added simple osx support by writing a command line application which reuses some of the code from gfxCardStatus. This removes the need for an old version of gfxCardStatus  since it does not switch to dynamic switching on exit. Furthermore this open the possibility to switch the to the integrated graphics card on logout (via a LoginHook) to remove the need to reboot linux everytime osx was used (since osx reset the efi var set by gpu-switch on unix).\r\nUnfortunately this means including the new GPL License from gfxCardStatus.\r\nAnyway, hope you like it. \r\n\r\nmalte"},"comment":{"url":"https://api.github.com/repos/0xbb/gpu-switch/issues/comments/218011068","html_url":"https://github.com/0xbb/gpu-switch/pull/26#issuecomment-218011068","issue_url":"https://api.github.com/repos/0xbb/gpu-switch/issues/26","id":218011068,"user":{"login":"ah-","id":1349849,"avatar_url":"https://avatars.githubusercontent.com/u/1349849?v=3","gravatar_id":"","url":"https://api.github.com/users/ah-","html_url":"https://github.com/ah-","followers_url":"https://api.github.com/users/ah-/followers","following_url":"https://api.github.com/users/ah-/following{/other_user}","gists_url":"https://api.github.com/users/ah-/gists{/gist_id}","starred_url":"https://api.github.com/users/ah-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ah-/subscriptions","organizations_url":"https://api.github.com/users/ah-/orgs","repos_url":"https://api.github.com/users/ah-/repos","events_url":"https://api.github.com/users/ah-/events{/privacy}","received_events_url":"https://api.github.com/users/ah-/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T22:39:34Z","updated_at":"2016-05-09T22:39:34Z","body":"Oh cool! What exactly does this all do? \r\n\r\nIs there stuff in there you could remove? Like those binaries and xcuserdata?"}}