diff --git a/src/renderer/src/utils/dataLimit.ts b/src/renderer/src/utils/dataLimit.ts index 9cbc378a53..7678099be2 100644 --- a/src/renderer/src/utils/dataLimit.ts +++ b/src/renderer/src/utils/dataLimit.ts @@ -40,7 +40,7 @@ async function checkAppDataDiskQuota(appDataPath: string) { return false } const { free } = diskInfo - logger.info(`App data disk quota: Free ${free} GB`) + logger.info(`App data disk quota: Free ${(free / GB).toFixed(2)} GB`) // if free is less than 1GB, return true return free < 1 * GB } catch (error) {