From f16bba869d6ae8305f183767e8dcc30a8a77191d Mon Sep 17 00:00:00 2001 From: Diode-exe Date: Thu, 11 Dec 2025 13:14:28 -0600 Subject: [PATCH 1/2] Add warning when running main.py directly Added a message to inform users that main.py is a module and not intended to be executed directly. --- translucenttb/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/translucenttb/main.py b/translucenttb/main.py index 5a110f7..a78e7ed 100644 --- a/translucenttb/main.py +++ b/translucenttb/main.py @@ -94,3 +94,6 @@ def check(self, event: Event) -> None: event.widget.state(["invalid"]) else: event.widget.state(["!invalid"]) + +if __name__ == "__main__": + print("This is a module, and not meant to be ran directly... ") \ No newline at end of file From 3dba04d5e5bbb96b9690fe4416e00de586227618 Mon Sep 17 00:00:00 2001 From: Diode-exe Date: Thu, 11 Dec 2025 13:26:31 -0600 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f3df301..aa150b6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ### TranslucentTB -#### This is a python version TranslucentTB maybe with tkinter and ctypes +#### This is a version of TranslucentTB made with tkinter and ctypes, written in Python -A lightweight utility that makes the Windows taskbar translucent/transparent on Windows 10 and Windows11. +A lightweight utility that makes the Windows taskbar translucent/transparent on Windows 10 and Windows 11. ### Screenshots ![image](https://github.com/littlewhitecloud/TranslucentTB/assets/71159641/97763cac-2b58-4208-b98b-36d031c86880)