{"action":"created","issue":{"url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/850","repository_url":"https://api.github.com/repos/sparkle-project/Sparkle","labels_url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/850/labels{/name}","comments_url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/850/comments","events_url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/850/events","html_url":"https://github.com/sparkle-project/Sparkle/issues/850","id":166888887,"number":850,"title":"How do I implement shouldPostponeRelaunchForUpdate","user":{"login":"mick-ntrepid","id":20584391,"avatar_url":"https://avatars.githubusercontent.com/u/20584391?v=3","gravatar_id":"","url":"https://api.github.com/users/mick-ntrepid","html_url":"https://github.com/mick-ntrepid","followers_url":"https://api.github.com/users/mick-ntrepid/followers","following_url":"https://api.github.com/users/mick-ntrepid/following{/other_user}","gists_url":"https://api.github.com/users/mick-ntrepid/gists{/gist_id}","starred_url":"https://api.github.com/users/mick-ntrepid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mick-ntrepid/subscriptions","organizations_url":"https://api.github.com/users/mick-ntrepid/orgs","repos_url":"https://api.github.com/users/mick-ntrepid/repos","events_url":"https://api.github.com/users/mick-ntrepid/events{/privacy}","received_events_url":"https://api.github.com/users/mick-ntrepid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-21T18:39:11Z","updated_at":"2016-07-21T20:01:14Z","closed_at":null,"body":"\r\nThe docs for the 'postponeRelaunch' method are somewhat confusing (at least to me):\r\n\r\n// Return YES to delay the relaunch until you do some processing.\r\n// Invoke the provided NSInvocation to continue the relaunch.\r\n- (BOOL)updater:(SUUpdater *)updater\r\n        shouldPostponeRelaunchForUpdate:(SUAppcastItem *)update\r\n        untilInvoking:(NSInvocation *)invocation;\r\n\r\n\r\nThis is some simple example code which doesn't work as expected:\r\n\r\n-(BOOL)updater:(SUUpdater *)updater shouldPostponeRelaunchForUpdate:(SUAppcastItem *)update untilInvoking:(NSInvocation *)invocation {\r\n    \r\n    [invocation setSelector:@selector(myTestMethod)];\r\n    [invocation setTarget:self];\r\n\r\n    [invocation invoke];\r\n\r\n    return YES;\r\n}\r\n\r\nI'm not sure how the shouldPostpone delegate should be implemented - some simple sample code would be greatly appreciated.\r\n\r\n-Mick\r\nmick.oyer@ntrepidcorp.com\r\n"},"comment":{"url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/comments/234366535","html_url":"https://github.com/sparkle-project/Sparkle/issues/850#issuecomment-234366535","issue_url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/850","id":234366535,"user":{"login":"mick-ntrepid","id":20584391,"avatar_url":"https://avatars.githubusercontent.com/u/20584391?v=3","gravatar_id":"","url":"https://api.github.com/users/mick-ntrepid","html_url":"https://github.com/mick-ntrepid","followers_url":"https://api.github.com/users/mick-ntrepid/followers","following_url":"https://api.github.com/users/mick-ntrepid/following{/other_user}","gists_url":"https://api.github.com/users/mick-ntrepid/gists{/gist_id}","starred_url":"https://api.github.com/users/mick-ntrepid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mick-ntrepid/subscriptions","organizations_url":"https://api.github.com/users/mick-ntrepid/orgs","repos_url":"https://api.github.com/users/mick-ntrepid/repos","events_url":"https://api.github.com/users/mick-ntrepid/events{/privacy}","received_events_url":"https://api.github.com/users/mick-ntrepid/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T20:01:14Z","updated_at":"2016-07-21T20:01:14Z","body":"Thanks for the response - sorry, still confused.\r\n\r\nHow do I set the invocation to call a specific method?  In my example, I'm trying to call 'myTestMethod'.  I need to execute some code after the update is completed and before relaunch."}}
{"actor":{"display_login":"mick-ntrepid"}}