* update .gitignore * remove cargo.lock * minor cleanup.
@@ -1,6 +1,7 @@
-mod runner;
use web_view::WebView;
+mod runner;
+
//type FnMut(&mut InvokeHandler<WebView<'_, ()>>, &str) = FnMut(&mut FnMut(&mut InvokeHandler<WebView<'_, ()>>, &str)<WebView<'_, ()>>, &str);
pub struct App {
@@ -3,10 +3,10 @@ use std::{fs::read_to_string, path::Path, process::Stdio, thread::spawn};
use web_view::{builder, Content, WebView};
+use super::App;
use crate::config::{get, Config};
#[cfg(feature = "embedded-server")]
use crate::tcp::{get_available_port, port_is_available};
-use crate::App;
use crate::TauriResult;
// JavaScript string literal
@@ -20,17 +20,16 @@ mod salt;
mod tcp;
+mod app;
#[cfg(not(feature = "dev-server"))]
pub mod assets;
-mod app;
-
use std::process::Stdio;
use threadpool::ThreadPool;
pub use app::*;
-use web_view::*;
+use web_view::WebView;
pub use tauri_api as api;