Skip to content

Commit 3a9eab5

Browse files
committed
app icon adjectment
1 parent 6801ab7 commit 3a9eab5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

clock.ico

176 KB
Binary file not shown.

tiktok_downloader.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import yt_dlp
44
from ttkthemes import ThemedTk
55
import ttkbootstrap as ttk
6+
import os
67

78
def download_video():
89
url = entry_url.get().strip()
@@ -37,9 +38,16 @@ def download_video():
3738
root.geometry("450x250")
3839
root.resizable(False, False)
3940

41+
# Set icon
42+
icon_path = "clock.ico" # Update this with the correct path to your icon file
43+
if os.path.exists(icon_path):
44+
root.iconbitmap(icon_path)
45+
4046
frame = ttk.Frame(root, padding=10)
4147
frame.pack(fill='both', expand=True)
4248

49+
50+
4351
ttk.Label(frame, text="Enter TikTok Video URL:", font=("Arial", 12)).pack(pady=5)
4452
entry_url = ttk.Entry(frame, width=55, font=("Arial", 10))
4553
entry_url.pack(pady=5)

0 commit comments

Comments
 (0)