Skip to content

Commit

Permalink
Merge pull request #139 from Lazap-Development/nightly
Browse files Browse the repository at this point in the history
Report disk usage instead of available space & Updated README.md
  • Loading branch information
p0ryae authored Aug 12, 2023
2 parents 9e40ad2 + 797cecc commit 4ec2244
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@
Depending on your operating system, we provide as much ease in terms of installation:<br>

**Windows**:
- Download & install the latest `.msi` file in the [releases](https://github.com/Lazap-Development/lazap/releases) section.
- Download & install the latest `.msi` file in the [releases](https://github.com/Lazap-Development/lazap/releases) section
- Or install via Winget:
```
winget install LazapDevelopment.Lazap
```

**Linux**: Download & install either the `.deb` or `.tar.zst` file in the [releases](https://github.com/Lazap-Development/lazap/releases) section. <br>
**MacOS**: Soon...
**Linux**: Download & install either the `.deb` or `.tar.zst` file in the [releases](https://github.com/Lazap-Development/lazap/releases) section <br>
**MacOS**: Download & install the latest `.dmg` file in the [releases](https://github.com/Lazap-Development/lazap/releases) section

## 👾 Development

Expand Down
2 changes: 1 addition & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ async fn get_sys_info() -> Result<String, Error> {
let mut data_used_disk: u64 = 0;
let mut data_all_disk: u64 = 0;
for disk in sys.disks() {
data_used_disk += disk.available_space();
data_used_disk += disk.total_space() - disk.available_space();
data_all_disk += disk.total_space();
}

Expand Down

0 comments on commit 4ec2244

Please sign in to comment.