This commit is contained in:
midoks
2023-02-24 05:38:59 +08:00
parent 1abb611c3e
commit 4acae8e5f5
2 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -708,7 +708,7 @@ class files_api:
return not path in nDirs
def getDirSize(self, path):
if mw.getOs() == 'darwin':
if mw.isAppleSystem():
tmp = mw.execShell('du -sh ' + path)
else:
tmp = mw.execShell('du -sbh ' + path)