readme and remove template

This commit is contained in:
Julian Freeman
2025-12-07 21:44:43 -04:00
parent 3285f5c015
commit 268d7eed07
2 changed files with 2 additions and 14 deletions

View File

@@ -6,7 +6,6 @@ use std::fs;
use std::collections::HashMap;
use std::collections::HashSet;
// Define the configuration structure
#[derive(Serialize, Deserialize, Default, Debug)]
pub struct AppConfig {
@@ -18,12 +17,6 @@ pub struct AppConfig {
#[derive(Serialize, Deserialize, Default, Debug, Clone)]
pub struct HistoryMap(HashMap<String, Vec<String>>);
// Learn more about Tauri commands at https://tauri.app/develop/calling-rust/
#[tauri::command]
fn greet(name: &str) -> String {
format!("Hello, {}! You've been greeted from Rust!", name)
}
#[tauri::command]
fn copy_directory(template_path: String, target_path: String, new_folder_name: String) -> Result<String, String> {
let template = Path::new(&template_path);
@@ -351,7 +344,6 @@ pub fn run() {
.plugin(tauri_plugin_opener::init())
.plugin(tauri_plugin_dialog::init())
.invoke_handler(tauri::generate_handler![
greet,
copy_directory,
save_config,
load_config,