diff options
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/lib.rs | 7 | ||||
-rw-r--r-- | app/src/main.rs | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/app/src/lib.rs b/app/src/lib.rs new file mode 100644 index 0000000..9a3e3a1 --- /dev/null +++ b/app/src/lib.rs @@ -0,0 +1,7 @@ +#[cfg_attr(mobile, tauri::mobile_entry_point)] +pub fn run() { + tauri::Builder::default() + .plugin(tauri_plugin_opener::init()) + .run(tauri::generate_context!()) + .expect("Error starting") +} diff --git a/app/src/main.rs b/app/src/main.rs new file mode 100644 index 0000000..948a42b --- /dev/null +++ b/app/src/main.rs @@ -0,0 +1,5 @@ +#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] + +fn main() { + foxfleet_applib::run() +} |