Skip to content

Commit

Permalink
fix: support window
Browse files Browse the repository at this point in the history
  • Loading branch information
P-Asta committed May 10, 2024
1 parent e80faf0 commit ace71a5
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 @@ -38,7 +38,7 @@ fn main() {
apply_vibrancy(&window, NSVisualEffectMaterial::HudWindow, None, None)
.expect("Unsupported platform! 'apply_vibrancy' is only supported on macOS");

#[cfg(target_os = "window")]
#[cfg(target_os = "windows")]
apply_acrylic(&window, Some((18, 18, 18, 125)))
.expect("Unsupported platform! 'apply_blur' is only supported on Windows");

Expand Down Expand Up @@ -82,7 +82,7 @@ fn discord_status(name: String) {
}

#[tauri::command]
#[cfg(target_os = "window")]
#[cfg(target_os = "windows")]
fn discord_status(name: String) {}

#[cfg(not(target_os = "windows"))]
Expand Down

0 comments on commit ace71a5

Please sign in to comment.