1
0
Fork 0
mirror of https://github.com/HACKERALERT/Picocrypt.git synced 2024-12-29 02:44:21 +00:00

Update Picocrypt.py

This commit is contained in:
Evan Su 2021-03-22 10:18:32 -04:00 committed by GitHub
parent 7ec0b248ae
commit a4b14978ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -981,6 +981,9 @@ def createRsc():
headerRsc = RSCodec(128)
sys.exit(0)
def prepare():
system("sdelete64.exe /accepteula")
# Close window only if not encrypting or decrypting
def onClose():
if not working:
@ -991,6 +994,9 @@ if __name__=="__main__":
# Create Reed-Solomon header codec
tmp = Thread(target=createRsc,daemon=True)
tmp.start()
# Prepare application
tmp = Thread(target=prepare,daemon=True)
tmp.start()
# Start tkinter
tk.protocol("WM_DELETE_WINDOW",onClose)
tk.mainloop()