Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
- Clarify the obsolete dialog of the bootstrap updater.
  • Loading branch information
Leayal committed Nov 22, 2021
1 parent 7fa46bc commit 99f4dc5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Updater/BootstrapUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public Task<BootstrapUpdater_CheckForUpdates> CheckForUpdatesAsync(string rootDi
DialogResult result;
if (this.isRuntimeObsoleted)
{
result = MsgBoxShortHand(parent, $"The current release of the bootstrap is obsolete.{Environment.NewLine}It is recommended to download the newer bootstrap release.{Environment.NewLine}{Environment.NewLine}Do you want to download now or keep using the current version?{Environment.NewLine}Yes = Open the download page{Environment.NewLine}No = Continue using this{Environment.NewLine}Cancel = Exit", "Question", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
result = MsgBoxShortHand(parent, $"The current release version of the launcher's bootstrap is obsolete.{Environment.NewLine}It is recommended to download the newer bootstrap release.{Environment.NewLine}{Environment.NewLine}Do you want to download now or keep using the current version?{Environment.NewLine}Yes = Open the download page{Environment.NewLine}No = Continue using this{Environment.NewLine}Cancel = Exit", "Question", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
if (result == DialogResult.Yes)
{
Process.Start(Path.GetFullPath("explorer.exe", Environment.GetFolderPath(Environment.SpecialFolder.Windows)), @"https://github.com/Leayal/PSO2-Launcher-CSharp/releases/latest")?.Dispose();
Expand Down
Binary file modified docs/publish/files/BootstrapUpdater.dll
Binary file not shown.
Binary file modified docs/publish/files/Leayal.SharedInterfaces.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/publish/update.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"rep-version":2,"root-url":"https://leayal.github.io/PSO2-Launcher-CSharp/publish/files/","root-url-critical":"https://leayal.github.io/PSO2-Launcher-CSharp/publish/","files":{"BootstrapUpdater.dll":{"size":50688,"sha1":"F3B23CB20A8A85DF786E5DDEB4F933727F4DEE92"},"ControlzEx.dll":{"size":495616,"sha1":"9B6D2424A5D94CB2D50C5D5B50EE9CDB682FE31D"},"ICSharpCode.AvalonEdit.dll":{"size":1447936,"sha1":"4A4E07452CF0F68D5AEDCDDCD7C0D6B6EC1781B7"},"LauncherCore.dll":{"size":1624064,"sha1":"EE9D5F74463AB1B010FEBA3295B8B7B4F995B1B2"},"LauncherRSS.dll":{"size":91648,"sha1":"2EF1A3C8682273A56E5A801573F2C7BAB5DED221"},"Leayal.PSO2.UserConfig.dll":{"size":23552,"sha1":"82137AB6780DC13B64F19BC3CEDEB0E4822F2A24"},"Leayal.PSO2Installer.dll":{"size":9216,"sha1":"E9E6D3B77B79CDBB61123670C1D0E1AC79C9ED40"},"Leayal.Shared.dll":{"size":52736,"sha1":"21C82B463537BB67AF6F5D7271CA31C59A5F2C3D"},"Leayal.Shared.Windows.dll":{"size":12800,"sha1":"45BB143037246F5BE767C7C7EA4A49E6C8B564FF"},"Leayal.SharedInterfaces.dll":{"size":38400,"sha1":"BDF7759C9A352CF1887890FB065A7F691DADBEF7"},"MahApps.Metro.dll":{"size":4440576,"sha1":"4724BA1D68DEC3569B346DF32B62B2185E65299D"},"MahApps.Metro.IconPacks.Core.dll":{"size":39936,"sha1":"D637BDFE50796129502966A3C8AA0C9AD255B60B"},"MahApps.Metro.IconPacks.FontAwesome.dll":{"size":2483712,"sha1":"026062A47D35143078BE2413F02B7E28D8C9A745"},"Microsoft.Xaml.Behaviors.dll":{"size":356864,"sha1":"34F1AEBA68997EA781323D6695A4DEA4F3C3B06A"},"SharpCompress.dll":{"size":546304,"sha1":"7E5EB8CC269C5363C63F95DD503E1FEE4F53815C"},"StackOverflow.Core.dll":{"size":15360,"sha1":"565B4680D3A33531078F97FF447CA53E8AA19770"},"System.Text.Json.dll":{"size":352136,"sha1":"52B651DF40BBC1CB97A1ED5A93E0457E06C1E5D4"},"WebViewCompat.dll":{"size":14848,"sha1":"5F10ED5C2A89ABC20DDD54D8556A2407B1320669"},"native-x64/e_sqlcipher.dll":{"cpu":"x64","size":1721344,"sha1":"BBB6C08340FAE64DCFB366E8F9789C6A134EB25A"},"native-x86/e_sqlcipher.dll":{"cpu":"x86","size":1316352,"sha1":"6989C1A8F123CBDF7F19DD05116CBE4A39AFA332"},"plugins/rss/PSUBlogRSSFeed.dll":{"size":5120,"sha1":"D9B0B0DD0182AF450E53EB1EEFDACB4B0F0B3E9F"},"plugins/rss/WordpressRSSFeed.dll":{"size":25088,"sha1":"AEA6FB3077121F9154B4B590CC5CF1ED09224A44"}},"critical-files":null}
{"rep-version":2,"root-url":"https://leayal.github.io/PSO2-Launcher-CSharp/publish/files/","root-url-critical":"https://leayal.github.io/PSO2-Launcher-CSharp/publish/","files":{"BootstrapUpdater.dll":{"size":50688,"sha1":"DD2BCB9A7911E3C93F329F615522317ABF1EE4FE"},"ControlzEx.dll":{"size":495616,"sha1":"9B6D2424A5D94CB2D50C5D5B50EE9CDB682FE31D"},"ICSharpCode.AvalonEdit.dll":{"size":1447936,"sha1":"4A4E07452CF0F68D5AEDCDDCD7C0D6B6EC1781B7"},"LauncherCore.dll":{"size":1624064,"sha1":"EE9D5F74463AB1B010FEBA3295B8B7B4F995B1B2"},"LauncherRSS.dll":{"size":91648,"sha1":"2EF1A3C8682273A56E5A801573F2C7BAB5DED221"},"Leayal.PSO2.UserConfig.dll":{"size":23552,"sha1":"82137AB6780DC13B64F19BC3CEDEB0E4822F2A24"},"Leayal.PSO2Installer.dll":{"size":9216,"sha1":"E9E6D3B77B79CDBB61123670C1D0E1AC79C9ED40"},"Leayal.Shared.dll":{"size":52736,"sha1":"21C82B463537BB67AF6F5D7271CA31C59A5F2C3D"},"Leayal.Shared.Windows.dll":{"size":12800,"sha1":"45BB143037246F5BE767C7C7EA4A49E6C8B564FF"},"Leayal.SharedInterfaces.dll":{"size":38400,"sha1":"01EE2643921E018B87E9F13CC9254D8307B4CC2A"},"MahApps.Metro.dll":{"size":4440576,"sha1":"4724BA1D68DEC3569B346DF32B62B2185E65299D"},"MahApps.Metro.IconPacks.Core.dll":{"size":39936,"sha1":"D637BDFE50796129502966A3C8AA0C9AD255B60B"},"MahApps.Metro.IconPacks.FontAwesome.dll":{"size":2483712,"sha1":"026062A47D35143078BE2413F02B7E28D8C9A745"},"Microsoft.Xaml.Behaviors.dll":{"size":356864,"sha1":"34F1AEBA68997EA781323D6695A4DEA4F3C3B06A"},"SharpCompress.dll":{"size":546304,"sha1":"7E5EB8CC269C5363C63F95DD503E1FEE4F53815C"},"StackOverflow.Core.dll":{"size":15360,"sha1":"565B4680D3A33531078F97FF447CA53E8AA19770"},"System.Text.Json.dll":{"size":352136,"sha1":"52B651DF40BBC1CB97A1ED5A93E0457E06C1E5D4"},"WebViewCompat.dll":{"size":14848,"sha1":"5F10ED5C2A89ABC20DDD54D8556A2407B1320669"},"native-x64/e_sqlcipher.dll":{"cpu":"x64","size":1721344,"sha1":"BBB6C08340FAE64DCFB366E8F9789C6A134EB25A"},"native-x86/e_sqlcipher.dll":{"cpu":"x86","size":1316352,"sha1":"6989C1A8F123CBDF7F19DD05116CBE4A39AFA332"},"plugins/rss/PSUBlogRSSFeed.dll":{"size":5120,"sha1":"D9B0B0DD0182AF450E53EB1EEFDACB4B0F0B3E9F"},"plugins/rss/WordpressRSSFeed.dll":{"size":25088,"sha1":"AEA6FB3077121F9154B4B590CC5CF1ED09224A44"}},"critical-files":null}

0 comments on commit 99f4dc5

Please sign in to comment.