Skip to content

Commit

Permalink
feat(CHANGELOG.md): add CHANGELOG.md file to document version history
Browse files Browse the repository at this point in the history
feat(genzai.py): add version, author, and app details to CONFIG dictionary for better configuration management
refactor(genzai.py): rename TITLE and DIMENSION keys in CONFIG to APP_TITLE and APP_DIMENSION for better semantics
fix(genzai.py): set app to non-resizable to prevent UI distortion
  • Loading branch information
dinogomez committed Jun 8, 2024
1 parent 5bf7c1a commit 4d0d9b6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog

## [1.0.0] - 2024-06-08

### Added

- Initial release of Genzai 🎉, a lightweight Discord custom Rich Presence manager.

- Core functionalities:
- Connect to Discord RPC using a client ID.
- Update presence with customizable details.

### Release

- Linux Build
16 changes: 11 additions & 5 deletions genzai/genzai.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# @1.0.0
# @name: Genzai!
# @author: Dino Paulo R. Gomez 2024

Expand All @@ -20,9 +21,14 @@

# App Constants
CONFIG = {
"TITLE": "Genzai: Discord Rich Presence @dinogomez",
"DIMENSION": "520x480",

"VERSION": "1.0.0",
"AUTHOR": "Dino Paulo R. Gomez",
"APP_TITLE": f"Genzai: Discord Rich Presence",
"APP_ICON": "assets/icon.png",
"APP_LOGO": "assets/logo.png",
"APP_GEOMETRY": "520x480",
"APP_RESIZABLE": False,
"APP_DIMENSION": "520x480",
}

# Widget Coloring
Expand Down Expand Up @@ -96,8 +102,8 @@ def __init__(self):

# App Configs
ctk.set_default_color_theme("green")
self.title(CONFIG["TITLE"])
self.geometry(CONFIG["DIMENSION"])
self.title(CONFIG["APP_TITLE"])
self.geometry(CONFIG["APP_DIMENSION"])
self.resizable(False, False)

# App Main Frame [Frame]
Expand Down

0 comments on commit 4d0d9b6

Please sign in to comment.