import os | |
def get_logo_path() -> str: | |
"""Returns the absolute path to the logo.png file.""" | |
# Assumes logo.png is in the same directory as this __init__.py | |
current_dir = os.path.dirname(os.path.abspath(__file__)) | |
logo_path = os.path.join(current_dir, "logo.png") | |
if os.path.exists(logo_path): | |
return logo_path | |
return "" # Return empty if not found |