Skip to content

Commit b1e39ec

Browse files
committed
new file: assets/ufade.icns
modified: ufade_gui.py
1 parent 424ca5f commit b1e39ec

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.DS_Store

6 KB
Binary file not shown.

assets/ufade.icns

452 KB
Binary file not shown.

ufade_gui.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ def __init__(self):
7979
self.title("Universal Forensic Apple Device Extractor 0.9.3")
8080
self.geometry("1100x600")
8181
self.resizable(False, False)
82-
self.iconpath = ImageTk.PhotoImage(file=os.path.join(os.path.dirname(__file__), "assets" , "ufade.png" ))
82+
if platform.uname().system == "Darwin":
83+
self.iconpath = ImageTk.PhotoImage(file=os.path.join(os.path.dirname(__file__), "assets" , "ufade.icns" ))
84+
else:
85+
self.iconpath = ImageTk.PhotoImage(file=os.path.join(os.path.dirname(__file__), "assets" , "ufade.png" ))
8386
self.wm_iconbitmap()
8487
self.iconphoto(False, self.iconpath)
8588

@@ -2660,8 +2663,6 @@ def macos_dev17(self, change):
26602663
if getattr(sys, 'frozen', False):
26612664
try:
26622665
print("try")
2663-
script_path = create_mac_tunnel_script()
2664-
print(script_path)
26652666
run(["osascript", "-e", f'do shell script \"{sys.executable} tunnel\" with administrator privileges'])
26662667
except:
26672668
raise exceptions.AccessDeniedError()

0 commit comments

Comments
 (0)