Skip to content

Instantly share code, notes, and snippets.

@anaisbetts
Created June 21, 2012 07:36
Show Gist options
  • Save anaisbetts/2964410 to your computer and use it in GitHub Desktop.
Save anaisbetts/2964410 to your computer and use it in GitHub Desktop.
// Sum total of code required to update your app using NSync
var updateManager = new UpdateManager("MyCoolApp", "http://mycoolapp.com/update");
updateManager.UpdateApp()
.Subscribe(
x => Console.WriteLine("Update worked! Now at {0}", x.Version),
ex => Console.WriteLine("No Dice! {0}", ex);
@stevenh512
Copy link

See the implementation specs for more info on that.

I'm curious if this would work (without major hacks) with Mono under Linux or OSX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment