mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🐛 修复release打包失败
This commit is contained in:
@@ -50,8 +50,8 @@ fn main() {
|
|||||||
.plugin(tauri_plugin_sql::Builder::default().build())
|
.plugin(tauri_plugin_sql::Builder::default().build())
|
||||||
.plugin(build_log_plugin())
|
.plugin(build_log_plugin())
|
||||||
.setup(|_app| {
|
.setup(|_app| {
|
||||||
#[cfg(debug_assertions)]
|
|
||||||
let _window = _app.get_webview_window("TeyvatGuide");
|
let _window = _app.get_webview_window("TeyvatGuide");
|
||||||
|
#[cfg(debug_assertions)]
|
||||||
if _window.is_some() {
|
if _window.is_some() {
|
||||||
_window.unwrap().open_devtools();
|
_window.unwrap().open_devtools();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user