mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[v1.03][ARM] Add Rockchip logo and colors
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#define COLOR_STR_AMD "amd"
|
||||
#define COLOR_STR_IBM "ibm"
|
||||
#define COLOR_STR_ARM "arm"
|
||||
#define COLOR_STR_ROCKCHIP "rockchip"
|
||||
|
||||
static const char *SYTLES_STR_LIST[] = {
|
||||
[STYLE_EMPTY] = NULL,
|
||||
@@ -168,6 +169,7 @@ bool parse_color(char* optarg_str, struct color*** cs) {
|
||||
else if(strcmp(optarg_str, COLOR_STR_AMD) == 0) color_to_copy = COLOR_DEFAULT_AMD;
|
||||
else if(strcmp(optarg_str, COLOR_STR_IBM) == 0) color_to_copy = COLOR_DEFAULT_IBM;
|
||||
else if(strcmp(optarg_str, COLOR_STR_ARM) == 0) color_to_copy = COLOR_DEFAULT_ARM;
|
||||
else if(strcmp(optarg_str, COLOR_STR_ROCKCHIP) == 0) color_to_copy = COLOR_DEFAULT_ROCKCHIP;
|
||||
else {
|
||||
str_to_parse = optarg_str;
|
||||
free_ptr = false;
|
||||
|
||||
Reference in New Issue
Block a user