mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-19 19:04:23 +08:00
fix: 修复安卓真机开发版连接与编译问题
This commit is contained in:
@@ -100,7 +100,7 @@ pub async fn toggle_devtools(
|
||||
let _ = app;
|
||||
}
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
#[cfg(all(debug_assertions, desktop))]
|
||||
if let Some(window) = app.get_webview_window("main") {
|
||||
if window.is_devtools_open() {
|
||||
window.close_devtools();
|
||||
|
||||
Reference in New Issue
Block a user