Skip to content

Commit

Permalink
Main Code Updated & Icon Error Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dhhruv committed Dec 14, 2020
1 parent 8fe92bb commit 458ff45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions EncrypC.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def __init__(self, root):
try:
icon_img = tk.Image(
"photo",
file=self.THIS_FOLDER_G + "/files/EncrypC.ico"
file=self.THIS_FOLDER_G + "./files/encrypc.ico"
)
root.call(
"wm",
Expand Down Expand Up @@ -481,12 +481,15 @@ def show_help_callback(self):
)

def show_about(self):
messagebox.showinfo("EncrypC v1.1.0",
messagebox.showinfo("EncrypC v1.1.1",
"""EncrypC is a File Encryption Tool based on AES Algorithm. Created and Managed by Dhruv Panchal. https://github.com/dhhruv
""")


if __name__ == "__main__":
ROOT = tk.Tk()
MAIN_WINDOW = MainWindow(ROOT)
bundle_dir = getattr(sys, '_MEIPASS', os.path.abspath(os.path.dirname(__file__)))
path_to_ico = os.path.abspath(os.path.join(bundle_dir, "encrypc.ico"))
ROOT.iconbitmap(path_to_ico)
ROOT.mainloop()
Binary file modified files/EncrypC.ico
Binary file not shown.

0 comments on commit 458ff45

Please sign in to comment.