feat(authorization): e2e working authorization

This commit is contained in:
2025-04-11 19:58:25 +01:00
parent 6290c4b843
commit f89de6db50
7 changed files with 70 additions and 18 deletions

View File

@@ -7,7 +7,6 @@ use std::sync::Arc;
use std::sync::Mutex;
use tauri::AppHandle;
use tauri::Emitter;
use tauri::TitleBarStyle;
use tauri::{WebviewUrl, WebviewWindowBuilder};
struct WatcherState {
@@ -116,7 +115,7 @@ pub fn run() {
.setup(|app| {
let win_builder = WebviewWindowBuilder::new(app, "main", WebviewUrl::default())
.inner_size(480.0, 360.0)
.hidden_title(true)
// .hidden_title(true)
.resizable(true);
// set transparent title bar only when building for macOS
#[cfg(target_os = "macos")]