From 442d9a6dcf567179ab989db078fb9dc244e09686 Mon Sep 17 00:00:00 2001 From: ColdWindScholar <3590361911@qq.com> Date: Fri, 19 Jul 2024 21:01:19 +0800 Subject: [PATCH] [Released 3.8.1] - Fix Upgrade Online - Fix Pack Function - Add Transparent effect For Windows Signed-off-by: ColdWindScholar <3590361911@qq.com> --- tool.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tool.py b/tool.py index 20b546f1..7b9f29da 100755 --- a/tool.py +++ b/tool.py @@ -521,7 +521,8 @@ def enable_contextpatch(): ttk.Checkbutton(sf4, text=lang.ai_engine, variable=ai, onvalue='1', offvalue='0', style="Toggle.TButton").pack(padx=10, pady=10, fill=X) - ttk.Checkbutton(sf4, text='Transparent effect', variable=treff, onvalue='1', + if os.name == 'nt': + ttk.Checkbutton(sf4, text='Transparent effect', variable=treff, onvalue='1', offvalue='0', style="Toggle.TButton").pack(padx=10, pady=10, fill=X) # ttk.Checkbutton(sf4, text="新项目结构", variable=New_Project_Structure, onvalue='1',