You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add more PSO2 Game Options.
- Adjusted how backup is searched and restored for better concurrent operations.
**This release is also marked as final release for .NET5 branch.**
@@ -211,16 +217,22 @@ public Task<BootstrapUpdater_CheckForUpdates> CheckForUpdatesAsync(string rootDi
211
217
publicbool?DisplayUpdatePrompt(Form?parent)
212
218
{
213
219
DialogResultresult;
214
-
if(this.failToCheck)
220
+
if(this.isRuntimeObsoleted)
215
221
{
216
-
if(parent==null)
222
+
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);
223
+
if(result==DialogResult.Yes)
217
224
{
218
-
result=MessageBox.Show("Failed to check for launcher updates.\r\nDo you want to continue anyway?","Question",MessageBoxButtons.YesNo,MessageBoxIcon.Question);
result=MessageBox.Show(parent,"Failed to check for launcher updates.\r\nDo you want to continue anyway?","Question",MessageBoxButtons.YesNo,MessageBoxIcon.Question);
223
-
}
229
+
DialogResult.No=>false,
230
+
_ =>null
231
+
};
232
+
}
233
+
elseif(this.failToCheck)
234
+
{
235
+
result=MsgBoxShortHand(parent,$"Failed to check for launcher updates.{Environment.NewLine}Do you want to continue anyway?","Question",MessageBoxButtons.YesNo,MessageBoxIcon.Question);
224
236
returnresultswitch
225
237
{
226
238
DialogResult.Yes=>false,
@@ -231,14 +243,7 @@ public Task<BootstrapUpdater_CheckForUpdates> CheckForUpdatesAsync(string rootDi
231
243
{
232
244
if(this.recommendBootstrapUpdate)
233
245
{
234
-
if(parent==null)
235
-
{
236
-
result=MessageBox.Show("Found new version. Update the launcher?\r\nYes: Update [Recommended]\r\nNo: Continue using old version\r\nCancel: Exit","Question",MessageBoxButtons.YesNoCancel,MessageBoxIcon.Question);
237
-
}
238
-
else
239
-
{
240
-
result=MessageBox.Show(parent,"Found new version. Update the launcher?\r\nYes: Update [Recommended]\r\nNo: Continue using old version\r\nCancel: Exit","Question",MessageBoxButtons.YesNoCancel,MessageBoxIcon.Question);
241
-
}
246
+
result=MsgBoxShortHand(parent,$"Found new version. Update the launcher?{Environment.NewLine}Yes: Update [Recommended]{Environment.NewLine}No: Continue using old version{Environment.NewLine}Cancel: Exit","Question",MessageBoxButtons.YesNoCancel,MessageBoxIcon.Question);
242
247
}
243
248
else
244
249
{
@@ -247,14 +252,7 @@ public Task<BootstrapUpdater_CheckForUpdates> CheckForUpdatesAsync(string rootDi
247
252
{
248
253
returntrue;
249
254
}
250
-
if(parent==null)
251
-
{
252
-
result=MessageBox.Show("Found new version. Update the launcher?\r\nYes: Update [Recommended]\r\nNo: Continue using old version\r\nCancel: Exit","Question",MessageBoxButtons.YesNoCancel,MessageBoxIcon.Question);
253
-
}
254
-
else
255
-
{
256
-
result=MessageBox.Show(parent,"Found new version. Update the launcher?\r\nYes: Update [Recommended]\r\nNo: Continue using old version\r\nCancel: Exit","Question",MessageBoxButtons.YesNoCancel,MessageBoxIcon.Question);
257
-
}
255
+
result=MsgBoxShortHand(parent,$"Found new version. Update the launcher?{Environment.NewLine}Yes: Update [Recommended]{Environment.NewLine}No: Continue using old version{Environment.NewLine}Cancel: Exit","Question",MessageBoxButtons.YesNoCancel,MessageBoxIcon.Question);
258
256
}
259
257
returnresultswitch
260
258
{
@@ -264,6 +262,11 @@ public Task<BootstrapUpdater_CheckForUpdates> CheckForUpdatesAsync(string rootDi
0 commit comments