diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 4a277ef..a74da47 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -1,14 +1,8 @@ -// Learn more about Tauri commands at https://tauri.app/develop/calling-rust/ -#[tauri::command] -fn greet(name: &str) -> String { - format!("Hello, {}! You've been greeted from Rust!", name) -} - #[cfg_attr(mobile, tauri::mobile_entry_point)] pub fn run() { tauri::Builder::default() .plugin(tauri_plugin_opener::init()) - .invoke_handler(tauri::generate_handler![greet]) + .invoke_handler(tauri::generate_handler![]) .run(tauri::generate_context!()) .expect("error while running tauri application"); } diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index faa968b..599e173 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -10,13 +10,6 @@ "frontendDist": "../build" }, "app": { - "windows": [ - { - "title": "wyd", - "width": 800, - "height": 600 - } - ], "security": { "csp": null } diff --git a/src/app.html b/src/app.html index 92e7e33..8e8abd3 100644 --- a/src/app.html +++ b/src/app.html @@ -4,7 +4,7 @@ - Tauri + SvelteKit + Typescript App + wyd %sveltekit.head% diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 2a0845b..9a4e1cf 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,156 +1,3 @@ - - -
-

Welcome to Tauri + Svelte

- -
- - - - - - - - - -
-

Click on the Tauri, Vite, and SvelteKit logos to learn more.

- -
- - -
-

{greetMsg}

+
+
Hello, wyd?
- -