Skip to content

Instantly share code, notes, and snippets.

@Kapeli
Last active August 29, 2015 13:56
Show Gist options
  • Save Kapeli/9219363 to your computer and use it in GitHub Desktop.
Save Kapeli/9219363 to your computer and use it in GitHub Desktop.
- (void)updater:(SUUpdater *)updater didFindValidUpdate:(SUAppcastItem *)update
{
NSString *bestMirror = [[DHLatencyTester sharedLatencyTester] bestMirror];
if(bestMirror)
{
[update setFileURL:[NSURL URLWithString:[bestMirror stringByAppendingPathComponent:@"Dash.zip"]]];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment