Xcube-Studio / Natsurainko.FluentLauncher

Natsurainko.FluentLauncher A Minecraft launcher designed for Windows 11
https://fluentlauncher.natsurainko.work/
MIT License
279 stars 15 forks source link

[Bug] Adding an already-added account make an exception #259

Closed ItsTheSky closed 2 weeks ago

ItsTheSky commented 1 month ago

Describe the bug

System.Exception System.Exception: 不可以存在两个账户类型和 Uuid 均相同的账户 at Natsurainko.FluentLauncher.Services.Accounts.AccountService.AddAccount(Account account) at Natsurainko.FluentLauncher.ViewModels.Common.AuthenticationWizardDialogViewModel.Finish() at Natsurainko.FluentLauncher.ViewModels.Common.AuthenticationWizardDialogViewModel.Next() at ABI.System.Windows.Input.ICommand.Vftbl.Do_Abi_Execute_3(IntPtr thisPtr, IntPtr parameter)

Steps to reproduce the bug

Simply adds a new account that is already listed.

Expected behavior

A more user-friendly error message telling us this account is already added

Environment

Fluent Launcher: v2.2.9.0

Attachment

No response

natsurainko commented 2 weeks ago

fixed in 2.3.0.0