Closed martinbeentjes closed 8 years ago
I like your approach!
The only comment I have for myself that when the pmset -g batt
command output will change in some new shape which will output a second percentage. If this occurs, multiple occurrences of the regular expression will be placed on a new line each. For now, I think this is the most elegant solution. :)
Hey @martinbeentjes, just sent you an invite for the repo admin role. Welcome to the team. Please take care of the project 😄
Hey @bruno-, thanks alot! I will take care of the project!
After some useful comments by @jbleuzen, this PR should correctly show the percentage on each version of macOS and earlier.
This closes #32, closes #33, closes #34.