Update AppImage

This commit is contained in:
MacRimi
2025-11-03 19:02:41 +01:00
parent d787c3caa0
commit a70b33ce13
3 changed files with 35 additions and 7 deletions

View File

@@ -211,6 +211,12 @@ export function StorageOverview() {
if (diskName.startsWith("nvme")) {
return "NVMe"
}
// rotation_rate = -1 means HDD but RPM is unknown (detected via kernel rotational flag)
// rotation_rate = 0 or undefined means SSD
// rotation_rate > 0 means HDD with known RPM
if (rotationRate === -1) {
return "HDD"
}
if (!rotationRate || rotationRate === 0) {
return "SSD"
}