Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
windows fix:
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgunozerk committed Oct 3, 2022
1 parent 1b8c333 commit ee682e4
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
@@ -1,12 +1,14 @@
use serde::Serialize;
use std::fs::File;
use std::io::prelude::*;
use std::os::unix::fs::PermissionsExt;
use std::path::PathBuf;
use std::process::Command;
use tauri::{api, Env};
use tracing::{debug, error, info};

#[cfg(not(target_os = "windows"))]
use std::os::unix::fs::PermissionsExt;

#[derive(Serialize)]
pub(crate) struct DiskStats {
free_bytes: u64,
Expand Down

0 comments on commit ee682e4

Please sign in to comment.