Worked on search
This commit is contained in:
parent
7f2685d328
commit
aea2a9a7ba
5 changed files with 92 additions and 9 deletions
|
|
@ -4,6 +4,7 @@ mod search;
|
|||
use std::env;
|
||||
use tauri_plugin_fs::FsExt;
|
||||
|
||||
use search::search_files;
|
||||
use file_tree::dir_tree_html;
|
||||
use markdown_parser::parse_markdown;
|
||||
|
||||
|
|
@ -21,7 +22,7 @@ pub fn run() {
|
|||
|
||||
Ok(())
|
||||
})
|
||||
.invoke_handler(tauri::generate_handler![dir_tree_html, parse_markdown])
|
||||
.invoke_handler(tauri::generate_handler![dir_tree_html, parse_markdown, search_files])
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue