From 0ea29235cb8b91f397ccc3ec2ea46d187da39e89 Mon Sep 17 00:00:00 2001 From: Nix <75538775+nixietab@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:30:22 -0300 Subject: [PATCH] changed christmas date to 8 --- picodulce.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/picodulce.py b/picodulce.py index 2d521c7..89079d7 100644 --- a/picodulce.py +++ b/picodulce.py @@ -33,7 +33,7 @@ class PicomcVersionSelector(QWidget): def init_ui(self): self.setWindowTitle('PicoDulce Launcher') # Change window title current_date = datetime.now() - if (current_date.month == 12 and current_date.day >= 18) or (current_date.month == 1 and current_date.day <= 1): + if (current_date.month == 12 and current_date.day >= 8) or (current_date.month == 1 and current_date.day <= 1): self.setWindowIcon(QIcon('holiday.ico')) # Set holiday icon else: self.setWindowIcon(QIcon('launcher_icon.ico')) # Set regular icon @@ -1112,7 +1112,7 @@ if __name__ == '__main__': current_date = datetime.now() # Set the application icon based on the date - if (current_date.month == 12 and current_date.day >= 18) or (current_date.month == 1 and current_date.day <= 1): + if (current_date.month == 12 and current_date.day >= 8) or (current_date.month == 1 and current_date.day <= 1): app.setWindowIcon(QIcon('holiday.ico')) # Set holiday icon else: app.setWindowIcon(QIcon('launcher_icon.ico')) # Set regular icon