Skip to content

Commit

Permalink
Update utils.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtualHotBar committed Apr 25, 2024
1 parent bf1633a commit 8d35b16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src-tauri/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ use std::fs;
use std::io::{self, Write};
//use tauri::AppHandle;

#[tauri::command]
pub fn set_window_shadow<R: Runtime>(app: &tauri::App<R>) {
#[cfg(target_os = "linux")]
{
Ok(())
Ok(_)
}
#[cfg(target_os = "windows")]
{
Expand All @@ -19,6 +20,7 @@ pub fn set_window_shadow<R: Runtime>(app: &tauri::App<R>) {
}
}

#[tauri::command]
pub fn find_first_available_drive_letter() -> Result<Option<String>, io::Error> {
#[cfg(target_os = "linux")]
{
Expand Down

0 comments on commit 8d35b16

Please sign in to comment.