🐛 修复release打包失败

This commit is contained in:
目棃
2024-10-27 13:09:12 +08:00
parent 1c25942920
commit 06345bf5db

View File

@@ -50,8 +50,8 @@ fn main() {
.plugin(tauri_plugin_sql::Builder::default().build())
.plugin(build_log_plugin())
.setup(|_app| {
#[cfg(debug_assertions)]
let _window = _app.get_webview_window("TeyvatGuide");
#[cfg(debug_assertions)]
if _window.is_some() {
_window.unwrap().open_devtools();
}