|
9 | 9 |
|
10 | 10 | ## Since I have no idea how to do version control |
11 | 11 | about_txt = """\ |
12 | | -PyQuCryptor Build 2023-10-30.gpc_stable.rc4.v369-rtm |
| 12 | +PyQuCryptor Build 2023-10-30.gpc_stable.rc4.v370-rtm |
13 | 13 | Made by: Jinghao Li (Backend, frontend, head-developer), Kekoa Dang (Frontend), Zoe Murata (Logo designer) |
14 | 14 | License: BSD 3-Clause No Nuclear License 2014 |
15 | 15 | Date of programming: 2023-10-30 |
@@ -48,7 +48,7 @@ def resource_path(relative_path): |
48 | 48 | other_licenses = license_file.read() |
49 | 49 |
|
50 | 50 | ## IDK what this is for now considering we've never used it |
51 | | -build_string = "2023-10-30.gpc_stable.rc4.v369-rtm" |
| 51 | +build_string = "2023-10-30.gpc_stable.rc4.v370-rtm" |
52 | 52 |
|
53 | 53 | ## But the build tag is pratically just a joke |
54 | 54 | build_tag = ['stable', 'impressive', 'rc4', 'rtm'] |
@@ -353,7 +353,8 @@ def decrypt_file(self, password, path_to_file, delete_og_file = False ) : |
353 | 353 | open(str.replace(path_to_file, ".encr", '')) |
354 | 354 | if messagebox.askyesno(title="PyQucryptor: File Already Exists Error", message="A file with the same name already exists. Do you want to overwrite?") : |
355 | 355 | os.replace(path_to_file + ".temp", str.replace(path_to_file, ".encr", '')) |
356 | | - else : os.remove(path_to_file + ".temp") |
| 356 | + else : |
| 357 | + os.remove(path_to_file + ".temp") |
357 | 358 | except FileNotFoundError: |
358 | 359 | os.rename(path_to_file + ".temp", str.replace(path_to_file, ".encr", '')) |
359 | 360 |
|
@@ -747,7 +748,7 @@ def selectmodecmd(value = None): ## Select what screen your on encrypt / decrypt |
747 | 748 | set_password = customtkinter.CTkLabel(app, text="Enter Your Password", bg_color="#192E45", font=("Arial", 18, "bold")) |
748 | 749 | set_password.pack(side=tk.BOTTOM, padx=(30), pady=(0,2), anchor=tk.W) |
749 | 750 |
|
750 | | - encryptupload_button = customtkinter.CTkButton(app, text="Select Encrypted File", font=("Arial", 18), fg_color="#393939", bg_color="#192E45", hover_color="#2E2E2E", command=encryptupload, height=25, width=325) |
| 751 | + encryptupload_button = customtkinter.CTkButton(app, text="Select Encrypted File", font=("Arial", 18), fg_color="#393939", bg_color="#192E45", hover_color="#2E2E2E", command=decryptfileupload, height=25, width=325) |
751 | 752 | encryptupload_button.pack(side=tk.BOTTOM, padx=(30), pady=(15, 25), anchor=tk.CENTER) |
752 | 753 |
|
753 | 754 | file_path_label = customtkinter.CTkEntry(app, placeholder_text="Encrypted File Path", height=35, width=325, bg_color="#192E45", font=("Arial", 15)) |
|
0 commit comments