tauri
tauri copied to clipboard
[bug] window.is_devtools_open() always return false
Describe the bug
#[tauri::command]
fn is_devtools_open(window: Window) -> bool {
window.is_devtools_open()
}
Reproduction
No response
Expected behavior
No response
Full tauri info output
[✔] Environment
- OS: Windows 10.0.22631 X64
✔ WebView2: 120.0.2210.144
✔ MSVC: Visual Studio ���ɹ��� 2022
✔ rustc: 1.72.0 (5680fa18f 2023-08-23)
✔ cargo: 1.72.0 (103a7ff2e 2023-08-15)
✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default) - node: 18.18.0
- pnpm: 8.7.6
- yarn: 1.22.19
- npm: 9.8.1
[-] Packages
- tauri [RUST]: 2.0.0-alpha.21
- tauri-build [RUST]: 2.0.0-alpha.14
- wry [RUST]: 0.35.2
- tao [RUST]: 0.24.0
- tauri-cli [RUST]: 2.0.0-alpha.20
- @tauri-apps/api [NPM]: 2.0.0-alpha.13
- @tauri-apps/cli [NPM]: 2.0.0-alpha.21
[-] App
- build-type: bundle
- CSP: default-src 'self'; img-src 'self' asset: http://asset.localhost data: blob:; style-src 'self' 'unsafe-inline'; connect-src ipc: http://ipc.localhost
- distDir: ../dist
- devPath: http://localhost:1420/
- framework: Vue.js
- bundler: Rollup
Stack trace
No response
Additional context
No response