|
|
@ -3,8 +3,8 @@
|
|
|
|
windows_subsystem = "windows"
|
|
|
|
windows_subsystem = "windows"
|
|
|
|
)]
|
|
|
|
)]
|
|
|
|
|
|
|
|
|
|
|
|
use tracing_subscriber::fmt::format::FmtSpan;
|
|
|
|
|
|
|
|
use tracing_subscriber::EnvFilter;
|
|
|
|
use tracing_subscriber::EnvFilter;
|
|
|
|
|
|
|
|
use tracing_subscriber::fmt::format::FmtSpan;
|
|
|
|
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
fn main() {
|
|
|
|
tracing_subscriber::fmt::SubscriberBuilder::default()
|
|
|
|
tracing_subscriber::fmt::SubscriberBuilder::default()
|
|
|
@ -14,6 +14,9 @@ fn main() {
|
|
|
|
.compact()
|
|
|
|
.compact()
|
|
|
|
.init();
|
|
|
|
.init();
|
|
|
|
mediarepo_api::tauri_plugin::register_plugin(tauri::Builder::default())
|
|
|
|
mediarepo_api::tauri_plugin::register_plugin(tauri::Builder::default())
|
|
|
|
|
|
|
|
.on_page_load(|window, _| {
|
|
|
|
|
|
|
|
window.set_title(format!("mediarepo {}", env!("CARGO_PKG_VERSION")).as_str()).unwrap();
|
|
|
|
|
|
|
|
})
|
|
|
|
.run(tauri::generate_context!())
|
|
|
|
.run(tauri::generate_context!())
|
|
|
|
.expect("error while running tauri application");
|
|
|
|
.expect("error while running tauri application");
|
|
|
|
}
|
|
|
|
}
|
|
|
|