Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

Auto-fix formatting issues

GitHub Actionbcf44b860917
diff --git a/src-tauri/src/app/window.rs b/src-tauri/src/app/window.rs
index 13a00dd2..0ee51165 100644
--- a/src-tauri/src/app/window.rs
+++ b/src-tauri/src/app/window.rs
@@ -83,9 +83,8 @@ pub fn set_window(app: &mut App, config: &PakeConfig, tauri_config: &Config) ->
}
if window_config.enable_tauri_new_window {
- window_builder = window_builder.on_new_window(move |_url, _features| {
- tauri::webview::NewWindowResponse::Allow
- })
+ window_builder = window_builder
+ .on_new_window(move |_url, _features| tauri::webview::NewWindowResponse::Allow)
}
// Add initialization scripts