Fix macOS menu and fallback URL

This commit is contained in:
Gregory Schier
2023-11-21 09:24:13 -08:00
parent 1b99c7e10f
commit 2bcd0e0bbe
2 changed files with 1 additions and 2 deletions

View File

@@ -833,7 +833,6 @@ fn create_window(handle: &AppHandle<Wry>, url: Option<&str>) -> Window<Wry> {
{
win_builder = win_builder
.menu(app_menu)
.decorations(false)
.hidden_title(true)
.title_bar_style(TitleBarStyle::Overlay);
}

View File

@@ -21,5 +21,5 @@ export function fallbackRequestName(r: HttpRequest | null): string {
// Nothing
}
return '';
return r.url;
}