added downscaled as file scanning if exist. made gib to gb for calculations. changed windows detection.

This commit is contained in:
cake
2025-11-29 04:51:53 +01:00
parent d995afcf48
commit aa04ab05ab
4 changed files with 76 additions and 19 deletions

View File

@@ -179,9 +179,9 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
int i = 0;
double dblSByte = bytes;
while (dblSByte >= 1000 && i < suffix.Length - 1)
while (dblSByte >= 1024 && i < suffix.Length - 1)
{
dblSByte /= 1000.0;
dblSByte /= 1024.0;
i++;
}