We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I added a bit of code to the update process to handle multiple pending updates.
In the server manifest I added <manifests> <manifest> .... </manifest> <manifest> ... </manifest> </manifests>
<manifests>
<manifest>
....
</manifest>
...
</manifests>
// download manifest XDocument doc = XDocument.Load(Settings.Default.RemoteManifest); // b2k -- look for multiple versions in the file. var versions = doc.Descendants("version"); if (versions.Count() > 1) { var nextVersion = versions.SkipWhile(node => new Version(node.Value) <= appVersion ).FirstOrDefault(); if (nextVersion != null && nextVersion.Parent != null) { doc = new XDocument(nextVersion.Parent.ToString()); } }
The text was updated successfully, but these errors were encountered:
added processing multiple pending updates from b2k (jarrettv#4)
6cf49e5
Hi b2k, I used parts of your above code in my fork here: https://github.com/okoetter/SimpleUpdater
This fork changes some parts of this project to better reflect my needs.
Best regards Oliver
Sorry, something went wrong.
No branches or pull requests
I added a bit of code to the update process to handle multiple pending updates.
In the server manifest I added
<manifests>
<manifest>
....
</manifest>
<manifest>
...
</manifest>
</manifests>
The text was updated successfully, but these errors were encountered: