Code cleanup.

This commit is contained in:
2023-07-11 00:03:47 +08:00
parent d89423caf5
commit 1dcbc03829
3 changed files with 12 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ namespace Cryville.Crtr.Network {
if (totalDiffSize == 0 || totalDiffSize >= fullPackage.size) {
// TODO Check if external
if (Dialog.ShowAndWait(string.Format("A new version is available: {0}\nYou have to download the full package.\nOpen the download link now?", latestVersion.name), "Yes", "No") == 0) {
UrlOpener.Open(fullPackage.url);
UrlOpener.OpenThreaded(fullPackage.url);
}
}
else {