首页布局优化前
This commit is contained in:
@@ -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)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user