mirror of
https://github.com/nixietab/picodulce.git
synced 2025-12-16 11:13:58 +00:00
Compare commits
2 Commits
566095978d
...
0ea29235cb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0ea29235cb | ||
|
|
8ba2aa74a3 |
@ -30,7 +30,7 @@
|
|||||||
Picodulce is a feature-rich launcher for Minecraft, developed using Qt5. It serves as a graphical user interface (GUI) for the picomc project, providing users with a seamless experience in managing and launching game versions.
|
Picodulce is a feature-rich launcher for Minecraft, developed using Qt5. It serves as a graphical user interface (GUI) for the picomc project, providing users with a seamless experience in managing and launching game versions.
|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Key Features
|
## Key Features
|
||||||
|
|
||||||
|
|||||||
@ -33,7 +33,7 @@ class PicomcVersionSelector(QWidget):
|
|||||||
def init_ui(self):
|
def init_ui(self):
|
||||||
self.setWindowTitle('PicoDulce Launcher') # Change window title
|
self.setWindowTitle('PicoDulce Launcher') # Change window title
|
||||||
current_date = datetime.now()
|
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
|
self.setWindowIcon(QIcon('holiday.ico')) # Set holiday icon
|
||||||
else:
|
else:
|
||||||
self.setWindowIcon(QIcon('launcher_icon.ico')) # Set regular icon
|
self.setWindowIcon(QIcon('launcher_icon.ico')) # Set regular icon
|
||||||
@ -1112,7 +1112,7 @@ if __name__ == '__main__':
|
|||||||
current_date = datetime.now()
|
current_date = datetime.now()
|
||||||
|
|
||||||
# Set the application icon based on the date
|
# 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
|
app.setWindowIcon(QIcon('holiday.ico')) # Set holiday icon
|
||||||
else:
|
else:
|
||||||
app.setWindowIcon(QIcon('launcher_icon.ico')) # Set regular icon
|
app.setWindowIcon(QIcon('launcher_icon.ico')) # Set regular icon
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user