mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-08-10 05:00:43 +02:00
feat: prevent launch with inconsistent geodata
This commit is contained in:
@@ -2493,9 +2493,7 @@ impl McpServer {
|
||||
app_handle.clone(),
|
||||
profile.clone(),
|
||||
url.map(|s| s.to_string()),
|
||||
None,
|
||||
headless,
|
||||
true,
|
||||
crate::browser_runner::LaunchOptions::automation(None, headless),
|
||||
)
|
||||
.await
|
||||
.map_err(|e| McpError {
|
||||
@@ -2651,9 +2649,7 @@ impl McpServer {
|
||||
app_handle.clone(),
|
||||
profile.clone(),
|
||||
url.map(|s| s.to_string()),
|
||||
None,
|
||||
headless,
|
||||
true,
|
||||
crate::browser_runner::LaunchOptions::automation(None, headless),
|
||||
)
|
||||
.await
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user