Skip to content

Commit 3a33dab

Browse files
committed
Comment out Linux webview devtools debug code
1 parent bb6d472 commit 3a33dab

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

apps/desktop/src-tauri/src/main.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,12 @@ async fn main() -> tauri::Result<()> {
243243
handle.emit("deeplink", deep_link_event).unwrap();
244244
});
245245

246-
#[cfg(debug_assertions)] // only include this code on debug builds
247-
{
248-
let window = app.get_webview_window("main").unwrap();
249-
window.open_devtools();
250-
window.close_devtools();
251-
}
246+
// #[cfg(debug_assertions)] // only include this code on debug builds
247+
// {
248+
// let window = app.get_webview_window("main").unwrap();
249+
// window.open_devtools();
250+
// window.close_devtools();
251+
// }
252252

253253
block_in_place(|| {
254254
block_on(async move {

0 commit comments

Comments
 (0)