display library disk usage (#976)

This commit is contained in:
an-lee
2024-08-15 17:18:12 +08:00
committed by GitHub
parent 7da9fb8095
commit 04a4f9b296
8 changed files with 176 additions and 15 deletions

View File

@@ -47,6 +47,9 @@ contextBridge.exposeInMainWorld("__ENJOY_APP__", {
removeCmdOutputListeners: () => {
ipcRenderer.removeAllListeners("app-on-cmd-output");
},
diskUsage: () => {
return ipcRenderer.invoke("app-disk-usage");
},
version,
},
window: {