Skip to content

Commit

Permalink
fix: unix build (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Dec 17, 2024
1 parent 8ac6ad4 commit 5bf8186
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ fn main() {
log!("Panic occurred: {:?}", info);
}));

#[cfg(target_os = "windows")]
log!("Are we on Windows 7: {}", helpers::is_windows_7());

let mut config = get_config();
Expand Down
1 change: 1 addition & 0 deletions src-tauri/src/util/notifications.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use crate::{
};
use tauri::Manager;

#[cfg(target_os = "windows")]
use super::helpers::is_windows_7;

#[tauri::command]
Expand Down

0 comments on commit 5bf8186

Please sign in to comment.