Created
June 21, 2012 07:36
-
-
Save anaisbetts/2964410 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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); | |
what would be located at mycoolap.com/update? Whats the process to create what's needed there or is it just the whole app package?
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
Wow, that easy? Nice.
Haven't touched .NET in years but one thing I always loved was the simple auto-updating that comes with ClickOnce. Nice to see it's just as simple without ClickOnce now. :)