Skip to content

Comments

fix icon for linux distros#94

Merged
ashiven merged 2 commits intomainfrom
fixes
Jan 11, 2026
Merged

fix icon for linux distros#94
ashiven merged 2 commits intomainfrom
fixes

Conversation

@ashiven
Copy link
Owner

@ashiven ashiven commented Jan 11, 2026

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request fixes icon display issues for Linux distributions by adding a PNG icon file and updating the icon loading logic to use the appropriate format based on the operating system.

Changes:

  • Added a new PNG icon file for non-Windows platforms
  • Updated ICON_FILE path logic to select between .ico (Windows) and .png (Linux/MacOS)
  • Modified icon-setting code to use iconbitmap for Windows and iconphoto for Linux/MacOS

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
cs2tracker/data/icon.png New PNG icon file added for Linux/MacOS compatibility
cs2tracker/constants.py Updated ICON_FILE path to conditionally select .ico or .png based on OS
cs2tracker/app/app.py Added OS-specific icon setting logic using iconphoto for non-Windows platforms

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ashiven ashiven merged commit 4c5c504 into main Jan 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant