Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
lencx committed Jan 24, 2023
1 parent 817cd6f commit f09204f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src-tauri/src/app/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ pub fn init(app: &mut App) -> std::result::Result<(), Box<dyn std::error::Error>
.initialization_script(include_str!("../scripts/core.js"))
.user_agent(&chat_conf.ua_window);

if cfg!(target_os = "macos") {
#[cfg(target_os = "macos")]
{
main_win = main_win
.title_bar_style(ChatConfJson::titlebar())
.hidden_title(true);
Expand Down

0 comments on commit f09204f

Please sign in to comment.