Skip to content

Commit

Permalink
Fix macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Nov 12, 2023
1 parent 42b1b07 commit cb60997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use tauri::{
};

#[cfg(target_os = "macos")]
use tauri::ActivationPolicy;
use tauri::{ActivationPolicy, App};

#[cfg(target_os = "macos")]
use window_custom::WindowExt as _;
Expand Down Expand Up @@ -99,7 +99,7 @@ fn main() {
window.set_always_on_top(true);

// setting this seems to fix windows somehow
// NOTE: this might be a bug?
// NOTE: this might be a bug?
window.set_decorations(false);

// add mac things
Expand Down

0 comments on commit cb60997

Please sign in to comment.