Skip to content

Core: move gui_enabled to Utils #4925

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alwaysintreble
Copy link
Collaborator

@alwaysintreble alwaysintreble commented Apr 25, 2025

What is this fixing or adding?

Just moves the variable definition so it can be more easily used by non-CommonClient derived, but GUI-optional apps.

How was this tested?

py CommonClient.py --nogui

@github-actions github-actions bot added affects: core Issues/PRs that touch core and may need additional validation. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Apr 25, 2025
@alwaysintreble alwaysintreble added the is: refactor/cleanup Improvements to code/output readability or organizization. label Apr 25, 2025
Copy link
Collaborator

@qwint qwint left a comment

Choose a reason for hiding this comment

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

code is a simple move, pure code review

I'd personally like for nogui to be handled in the launcher (accepted as an arg, removed from passthrough args, potentially even offer a nogui version of launcher itself) before it would need to be moved out of cc, but it's much easier to just make the move first

Copy link
Contributor

@silasary silasary left a comment

Choose a reason for hiding this comment

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

Seems reasonable

@alwaysintreble alwaysintreble added waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer. and removed waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: core Issues/PRs that touch core and may need additional validation. is: refactor/cleanup Improvements to code/output readability or organizization. waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants