-
Notifications
You must be signed in to change notification settings - Fork 84
CLI Feature #162
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
base: main
Are you sure you want to change the base?
CLI Feature #162
Conversation
ac3f86e to
5fae4cd
Compare
5fae4cd to
6648097
Compare
- Only the CoolerBoost for now as a POC - Modified some lines that static analyzer was complaining about - Add Options class to handle arg parsing and different option values
Less performant but more readable
6648097 to
e857eb1
Compare
This reverts commit 4dc6f55.
|
I can't help but wonder, why not write directly to the sysfs files exposed by msi-ec? |
Well I could, but I figured it wouldn't be too much effort to expand mcontrolcenter with cli support for less savy people. |
can't blame you for that, hopefully with msi-wmi-platform module things would become less complicated (also for scripting) |
This PR adds a CLI Object and options parsing.
The window "show" behavior is changed from "newConnection" to a socket message.
If CLI options are given to the program, the program will not show the window and only execute the commands. If a mcontrolcenter server exists a socket message is then sent to refresh the window data.
This is a POC with the CoolerBoost toggle only. I will implement the rest after a first review.