Skip to content

Commit

Permalink
🐛 修复release打包失败
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMuli committed Oct 27, 2024
1 parent 1c25942 commit 06345bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 06345bf

Please sign in to comment.