feat: improve platform integration and release packaging

This commit is contained in:
Kevin Yue committed 2026-07-26 23:22:57 +08:00
1 parent c0c517806e
commit 2ca6b80728
17 files changed
+357 -105

No files matched your search

+1
View File
@@ -54,3 +54,4 @@ webview-auth = [
"dep:objc2-foundation",
"dep:objc2-web-kit",
]
release-devtools = ["webview-auth", "tauri/devtools"]
+1 -1
View File
@@ -146,7 +146,7 @@ impl<'a> WebviewAuthenticator<'a> {
.on_page_load(on_page_load)
.title(self.window_title)
.theme(native_theme(self.window_theme))
.devtools(true);
.devtools(cfg!(any(debug_assertions, feature = "release-devtools")));
let auth_window = auth_window_builder
.inner_size(900.0, 650.0 + get_title_bar_height())
.focused(true)