Skip to content

Commit

Permalink
modified: assets/diag.png
Browse files Browse the repository at this point in the history
	new file:   assets/diag_ipad.png
	modified:   ufade_gui.py
  • Loading branch information
prosch88 committed Jul 26, 2024
1 parent 7ca151d commit 9c8839a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Binary file modified assets/diag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/diag_ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion ufade_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(self):
self.stop_event = threading.Event()

# Define Window
self.title("Universal Forensic Apple Device Extractor 0.8")
self.title("Universal Forensic Apple Device Extractor 0.8.1")
self.geometry("1100x600")
self.resizable(False, False)
self.iconpath = ImageTk.PhotoImage(file=os.path.join(os.path.dirname(__file__), "assets" , "ufade.png" ))
Expand Down Expand Up @@ -436,6 +436,8 @@ def choose_cwd(self, outputbox):
def browse_cwd(self, outputbox):
global dir
olddir = dir
self.okbutton.configure(state="disabled")
outputbox.configure(state="disabled")
if platform.uname().system == 'Linux':
import crossfiledialog
dir = crossfiledialog.choose_folder()
Expand All @@ -445,6 +447,8 @@ def browse_cwd(self, outputbox):
dir = ctk.filedialog.askdirectory()
if not dir:
dir = olddir
self.okbutton.configure(state="enabled")
outputbox.configure(state="normal")
outputbox.delete(0, "end")
outputbox.insert(0, string=dir)

Expand Down Expand Up @@ -557,6 +561,8 @@ def show_sysdiag(self):
self.text.pack(pady=10)
if d_class == "Watch":
self.diag_image = ctk.CTkImage(dark_image=Image.open(os.path.join(os.path.dirname(__file__), "assets" , "diag_watch.png")), size=(600, 300))
elif d_class == "iPad":
self.diag_image = ctk.CTkImage(dark_image=Image.open(os.path.join(os.path.dirname(__file__), "assets" , "diag_ipad.png")), size=(600, 300))
else:
self.diag_image = ctk.CTkImage(dark_image=Image.open(os.path.join(os.path.dirname(__file__), "assets" , "diag.png")), size=(600, 300))
self.diaglabel = ctk.CTkLabel(self.dynamic_frame, image=self.diag_image, text=" ", width=600, height=300, font=self.stfont, anchor="w", justify="left")
Expand Down

0 comments on commit 9c8839a

Please sign in to comment.