Update Picocrypt.py
This commit is contained in:
parent
8be8318d13
commit
2f2c52a38d
|
@ -1273,16 +1273,13 @@ def secureWipe(fin):
|
||||||
for i in Path(fin).rglob("*"):
|
for i in Path(fin).rglob("*"):
|
||||||
if dirname(i) not in paths:
|
if dirname(i) not in paths:
|
||||||
paths.append(dirname(i))
|
paths.append(dirname(i))
|
||||||
print(dirname(i))
|
|
||||||
for i in range(len(paths)):
|
for i in range(len(paths)):
|
||||||
statusString.set(strings[12]+f" ({i}/{len(paths)})")
|
statusString.set(strings[12]+f" ({i}/{len(paths)})")
|
||||||
progress["value"] = 100*i/len(paths)
|
progress["value"] = 100*i/len(paths)
|
||||||
system(f'cd "{paths[i]}" && "{rootDir}/sdelete64.exe" * -p 4 -s -nobanner')
|
system(f'cd "{paths[i]}" && "{rootDir}/sdelete64.exe" * -p 4 -nobanner')
|
||||||
system(f'cd "{rootDir}"')
|
system(f'cd "{rootDir}"')
|
||||||
rmtree(fin)
|
rmtree(fin)
|
||||||
else:
|
else:
|
||||||
#statusString.set(strings[12])
|
|
||||||
#progress["value"] = 100
|
|
||||||
system(f'sdelete64.exe "{fin}" -p 4 -nobanner')
|
system(f'sdelete64.exe "{fin}" -p 4 -nobanner')
|
||||||
|
|
||||||
# MacOS
|
# MacOS
|
||||||
|
|
Loading…
Reference in New Issue