Get everything ready

This commit is contained in:
Lncvrt committed 2025-07-29 14:24:38 -07:00
1 parent 3665367fb5
commit 0125a6fba6
13 files changed
+289 -129

No files matched your search

+11 -1
View File
@@ -1,4 +1,4 @@
use tauri::Manager;
use tauri::{Manager, PhysicalSize};
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
@@ -10,6 +10,16 @@ pub fn run() {
.set_focus();
}))
.invoke_handler(tauri::generate_handler![])
.setup(|app| {
let window = app.get_webview_window("main").unwrap();
let mut url = window.url().unwrap();
url.set_path("/projectmanager.html");
window.navigate(url).unwrap();
window.set_resizable(false).unwrap();
window.set_size(PhysicalSize::new(800, 600)).unwrap();
window.set_title("Project Manager").unwrap();
Ok(())
})
.run(tauri::generate_context!())
.expect("error while running tauri application");
}