You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to enable it for only a certain webview window. My use case is, I have an app that has a canvas and a manager. I want to have devtools in the canvas window in the release build so that users can inspect the elements, but not for the manager window.
Describe the solution you'd like
I noticed that WebviewBuilder in wry has the with_devtools method. Is it possible to have the same on WebviewWindowBuilder in tauri?
Alternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the problem
Currently the
devtools
features enables the webview devtools for all webviews.tauri/crates/tauri-runtime-wry/src/lib.rs
Lines 4137 to 4140 in 5ec7445
I want to enable it for only a certain webview window. My use case is, I have an app that has a canvas and a manager. I want to have devtools in the canvas window in the release build so that users can inspect the elements, but not for the manager window.
Describe the solution you'd like
I noticed that
WebviewBuilder
inwry
has thewith_devtools
method. Is it possible to have the same onWebviewWindowBuilder
intauri
?Alternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: