Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a method _parseSupportedProfiles to handle the non-JSON formatted output from supergfxctl -s. This method cleans up the string and splits it into an array of supported profiles. Error Handling and Default Fallback: Ensured proper error handling and default fallback to all available profiles in case of parsing errors or command execution failures. With these changes, the extension will correctly display only the supported modes based on the output of the supergfxctl -s command.
- Loading branch information