Skip to content

Commit

Permalink
Fix build on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jan 30, 2025
1 parent ad96989 commit cbc2d2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/gitbutler-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ tauri-plugin-store = "2.2.0"
tauri-plugin-updater = "2.3.0"
tauri-plugin-window-state = "2.2.0"

[target.'cfg(target_os = "macos")'.dependencies]
tauri-plugin-traffic-lights = { path = "../tauri-plugin-traffic-lights" }

parking_lot.workspace = true
log = "^0.4"
# The features here optimize for performance.
Expand Down Expand Up @@ -86,6 +83,9 @@ url = "2.5.4"
gix-testtools.workspace = true
insta.workspace = true

[target.'cfg(target_os = "macos")'.dependencies]
tauri-plugin-traffic-lights = { path = "../tauri-plugin-traffic-lights" }

[lints.clippy]
all = "deny"
perf = "deny"
Expand Down
1 change: 1 addition & 0 deletions crates/tauri-plugin-traffic-lights/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[cfg(target_os = "macos")]
use tauri::{LogicalPosition, Runtime, Window};

#[cfg(target_os = "macos")]
Expand Down

0 comments on commit cbc2d2d

Please sign in to comment.