首页布局优化前

This commit is contained in:
iven
2026-03-17 23:26:16 +08:00
parent 74dbf42644
commit e262200f1e
89 changed files with 2266 additions and 2120 deletions

View File

@@ -7,7 +7,6 @@
use serde::{Deserialize, Serialize};
use std::process::Command;
use tauri::AppHandle;
// === Types ===
@@ -131,6 +130,9 @@ fn run_viking_cli(args: &[&str]) -> Result<String, String> {
}
}
/// Helper function to run Viking CLI and parse JSON output
/// Reserved for future JSON-based commands
#[allow(dead_code)]
fn run_viking_cli_json<T: for<'de> Deserialize<'de>>(args: &[&str]) -> Result<T, String> {
let output = run_viking_cli(args)?;