glowing-bear/src-tauri/src/main.rs
Tor Hveem e9a8387d7b tauri: bump tauri to latest version
* include plugin to remember window position and size
  * change app category to social network
  * bump version
  * use withGlobalTauri to expose tauri namespace to glowing bear
    javascript
2023-02-10 11:47:55 +01:00

12 lines
346 B
Rust

#![cfg_attr(
all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows"
)]
fn main() {
tauri::Builder::default()
.plugin(tauri_plugin_window_state::Builder::default().build()) // register plugin to remember window state
.run(tauri::generate_context!())
.expect("error while running tauri application");
}