{"action":"created","issue":{"url":"https://api.github.com/repos/arslan2012/Lazy-Hackintosh-Image-Generator/issues/3","repository_url":"https://api.github.com/repos/arslan2012/Lazy-Hackintosh-Image-Generator","labels_url":"https://api.github.com/repos/arslan2012/Lazy-Hackintosh-Image-Generator/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/arslan2012/Lazy-Hackintosh-Image-Generator/issues/3/comments","events_url":"https://api.github.com/repos/arslan2012/Lazy-Hackintosh-Image-Generator/issues/3/events","html_url":"https://github.com/arslan2012/Lazy-Hackintosh-Image-Generator/pull/3","id":176167887,"number":3,"title":"A solution to maintain authorization","user":{"login":"JogleLew","id":8971641,"avatar_url":"https://avatars.githubusercontent.com/u/8971641?v=3","gravatar_id":"","url":"https://api.github.com/users/JogleLew","html_url":"https://github.com/JogleLew","followers_url":"https://api.github.com/users/JogleLew/followers","following_url":"https://api.github.com/users/JogleLew/following{/other_user}","gists_url":"https://api.github.com/users/JogleLew/gists{/gist_id}","starred_url":"https://api.github.com/users/JogleLew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JogleLew/subscriptions","organizations_url":"https://api.github.com/users/JogleLew/orgs","repos_url":"https://api.github.com/users/JogleLew/repos","events_url":"https://api.github.com/users/JogleLew/events{/privacy}","received_events_url":"https://api.github.com/users/JogleLew/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"arslan2012","id":8698442,"avatar_url":"https://avatars.githubusercontent.com/u/8698442?v=3","gravatar_id":"","url":"https://api.github.com/users/arslan2012","html_url":"https://github.com/arslan2012","followers_url":"https://api.github.com/users/arslan2012/followers","following_url":"https://api.github.com/users/arslan2012/following{/other_user}","gists_url":"https://api.github.com/users/arslan2012/gists{/gist_id}","starred_url":"https://api.github.com/users/arslan2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arslan2012/subscriptions","organizations_url":"https://api.github.com/users/arslan2012/orgs","repos_url":"https://api.github.com/users/arslan2012/repos","events_url":"https://api.github.com/users/arslan2012/events{/privacy}","received_events_url":"https://api.github.com/users/arslan2012/received_events","type":"User","site_admin":false},"assignees":[{"login":"arslan2012","id":8698442,"avatar_url":"https://avatars.githubusercontent.com/u/8698442?v=3","gravatar_id":"","url":"https://api.github.com/users/arslan2012","html_url":"https://github.com/arslan2012","followers_url":"https://api.github.com/users/arslan2012/followers","following_url":"https://api.github.com/users/arslan2012/following{/other_user}","gists_url":"https://api.github.com/users/arslan2012/gists{/gist_id}","starred_url":"https://api.github.com/users/arslan2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arslan2012/subscriptions","organizations_url":"https://api.github.com/users/arslan2012/orgs","repos_url":"https://api.github.com/users/arslan2012/repos","events_url":"https://api.github.com/users/arslan2012/events{/privacy}","received_events_url":"https://api.github.com/users/arslan2012/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-09-10T08:20:46Z","updated_at":"2016-09-16T13:37:33Z","closed_at":"2016-09-16T13:37:33Z","pull_request":{"url":"https://api.github.com/repos/arslan2012/Lazy-Hackintosh-Image-Generator/pulls/3","html_url":"https://github.com/arslan2012/Lazy-Hackintosh-Image-Generator/pull/3","diff_url":"https://github.com/arslan2012/Lazy-Hackintosh-Image-Generator/pull/3.diff","patch_url":"https://github.com/arslan2012/Lazy-Hackintosh-Image-Generator/pull/3.patch"},"body":"In 5 minutes, if program don’t use `sudo`, the program will lose\nauthorization. Using a thread to use `sudo` at background can solve the\nproblem."},"comment":{"url":"https://api.github.com/repos/arslan2012/Lazy-Hackintosh-Image-Generator/issues/comments/247602393","html_url":"https://github.com/arslan2012/Lazy-Hackintosh-Image-Generator/pull/3#issuecomment-247602393","issue_url":"https://api.github.com/repos/arslan2012/Lazy-Hackintosh-Image-Generator/issues/3","id":247602393,"user":{"login":"arslan2012","id":8698442,"avatar_url":"https://avatars.githubusercontent.com/u/8698442?v=3","gravatar_id":"","url":"https://api.github.com/users/arslan2012","html_url":"https://github.com/arslan2012","followers_url":"https://api.github.com/users/arslan2012/followers","following_url":"https://api.github.com/users/arslan2012/following{/other_user}","gists_url":"https://api.github.com/users/arslan2012/gists{/gist_id}","starred_url":"https://api.github.com/users/arslan2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arslan2012/subscriptions","organizations_url":"https://api.github.com/users/arslan2012/orgs","repos_url":"https://api.github.com/users/arslan2012/repos","events_url":"https://api.github.com/users/arslan2012/events{/privacy}","received_events_url":"https://api.github.com/users/arslan2012/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T13:37:33Z","updated_at":"2016-09-16T13:37:33Z","body":"我昨天换了块SSD，然后就遇不到权限失效的情况了\r\n23333\r\n这该让我如何Debug\r\n\r\n话说后台线程会在copy package时中断cp进程，导致镜像不完整。\r\n然而如果在copy package时暂停后台线程，则会在速度较慢的电脑上因为超时而失权\r\n所以，我修改了STPrivilagedTask，添加了一个除了刷新AuthorizationRef之外啥都不干的函数，解决了这个问题，这个功能应该会加入到下一个版本中去。PR关闭。"}}
{"actor":{"display_login":"arslan2012"}}