* 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
12 lines
346 B
Rust
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");
|
|
}
|