feat: adding translation for button

This commit is contained in:
Chubby Granny Chaser 2025-01-01 21:32:22 +00:00
parent cbbe6993bd
commit a121ef77c0
No known key found for this signature in database
21 changed files with 176 additions and 62 deletions

View file

@ -1,10 +1,10 @@
import checkDiskSpace from "check-disk-space";
import disk from "diskusage";
import { registerEvent } from "../register-event";
const getDiskFreeSpace = async (
_event: Electron.IpcMainInvokeEvent,
path: string
) => checkDiskSpace(path);
) => disk.check(path);
registerEvent("getDiskFreeSpace", getDiskFreeSpace);