Modules page: square icon cards with status (early/beta/release), switch, GitHub and settings; companions, scaling, TBC and WotLK packs and client compatibility in the catalog; a module switched off hides its page. Accounts: delete an account with confirmation.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ДмитрийandClaude Sonnet 5.5 committed 2026-10-02 11:26:09 +05:00
1 parent 14173d7d7e
commit 726b089f42
16 files changed
+514 -53

No files matched your search

+11
View File
@@ -589,6 +589,16 @@ async fn account_rename(state: State<'_, AppState>, id: String, name: String, ne
.await
}
#[tauri::command]
async fn account_delete(state: State<'_, AppState>, id: String, name: String) -> std::result::Result<(), UiError> {
let root = path_of(&state, &id)?;
blocking(move || {
let mut ra = Ra::connect(&root)?;
coa_core::accounts::delete(&root, &mut ra, &name)
})
.await
}
fn install_meta(root: &std::path::Path) -> Result<(PathBuf, InstallMeta)> {
let dir = meta_dir(root)?;
let (_, meta) = MetaDir::open(&dir)?;
@@ -1388,6 +1398,7 @@ pub fn run() {
account_set_password,
account_set_access,
account_rename,
account_delete,
install_new,
cancel_install,
create_account,