mirror of
https://github.com/HACKERALERT/Picocrypt.git
synced 2024-12-28 10:24:19 +00:00
Update Picocrypt.py
This commit is contained in:
parent
7ec0b248ae
commit
a4b14978ce
1 changed files with 6 additions and 0 deletions
|
@ -980,6 +980,9 @@ def createRsc():
|
|||
global headerRsc
|
||||
headerRsc = RSCodec(128)
|
||||
sys.exit(0)
|
||||
|
||||
def prepare():
|
||||
system("sdelete64.exe /accepteula")
|
||||
|
||||
# Close window only if not encrypting or decrypting
|
||||
def onClose():
|
||||
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue