mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-06-29 01:45:54 +08:00
812f39b159
Tauri CLI 自动检测 workspace 成员,构建不受影响。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
7 lines
249 B
Rust
7 lines
249 B
Rust
use path_editor_core::backup;
|
|
|
|
#[tauri::command]
|
|
pub fn backup_registry(custom_dir: Option<String>) -> Result<String, String> { backup::backup_registry(custom_dir) }
|
|
#[tauri::command]
|
|
pub fn get_appdata_dir() -> String { backup::get_appdata_dir() }
|