Skip to content

Commit f09204f

Browse files
committed
fix: build error
1 parent 817cd6f commit f09204f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src-tauri/src/app/setup.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ pub fn init(app: &mut App) -> std::result::Result<(), Box<dyn std::error::Error>
6666
.initialization_script(include_str!("../scripts/core.js"))
6767
.user_agent(&chat_conf.ua_window);
6868

69-
if cfg!(target_os = "macos") {
69+
#[cfg(target_os = "macos")]
70+
{
7071
main_win = main_win
7172
.title_bar_style(ChatConfJson::titlebar())
7273
.hidden_title(true);

0 commit comments

Comments
 (0)