propagated use of config home path to other systems. file loading now works using rust instead of js
This commit is contained in:
parent
62918416ee
commit
11bd003298
11 changed files with 1007 additions and 1000 deletions
|
|
@ -1,6 +1,7 @@
|
|||
mod config;
|
||||
mod database;
|
||||
mod file_access;
|
||||
mod file_handler;
|
||||
mod file_tree;
|
||||
mod markdown_parser;
|
||||
mod search;
|
||||
|
|
@ -14,7 +15,7 @@ use std::env;
|
|||
use std::sync::Mutex;
|
||||
use tauri::Manager;
|
||||
use tauri_plugin_fs::FsExt;
|
||||
|
||||
use file_handler::load;
|
||||
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
||||
pub fn run() {
|
||||
tauri::Builder::default()
|
||||
|
|
@ -40,6 +41,7 @@ pub fn run() {
|
|||
search_files,
|
||||
get_basepath,
|
||||
set_basepath,
|
||||
load
|
||||
])
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue