Skip to content

Commit b7f1f62

Browse files
committed
refactor (style) : optimize color theme for v2.2
refactor: set bool LOAD_DEFAULT_CONFIG = false; for production
1 parent 53aa494 commit b7f1f62

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

project_binary_fetch/binary_fetch_v1/main.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ int main(){
133133

134134
// ========== AUTO CONFIG FILE SETUP ==========
135135
// true = dev mode (loads local file), false = production mode (extracts from EXE)
136-
bool LOAD_DEFAULT_CONFIG = true; // must be false for production releases
136+
bool LOAD_DEFAULT_CONFIG = false; // must be false for production releases
137137

138138
string configDir = "C:\\Users\\Public\\BinaryFetch";
139139
string userConfigPath = configDir + "\\BinaryFetch_Config.json";
@@ -2041,7 +2041,7 @@ int main(){
20412041
if (isSubEnabled("bios_mb_info", "show_bios_vendor")) {
20422042
ostringstream ss;
20432043
ss << getColor("bios_mb_info", "~", "white") << "~ " << r
2044-
<< getColor("bios_mb_info", "vendor_label_color", "white") << "Bios Vendor " << r
2044+
<< getColor("bios_mb_info", "vendor_label_color", "white") << "Bios Vendor " << r
20452045
<< getColor("bios_mb_info", ":", "white") << ": " << r
20462046
<< getColor("bios_mb_info", "vendor_value_color", "white") << sys.get_bios_vendor() << r;
20472047
lp.push(ss.str());
@@ -2051,7 +2051,7 @@ int main(){
20512051
if (isSubEnabled("bios_mb_info", "show_bios_version")) {
20522052
ostringstream ss;
20532053
ss << getColor("bios_mb_info", "~", "white") << "~ " << r
2054-
<< getColor("bios_mb_info", "version_label_color", "white") << "Bios Version " << r
2054+
<< getColor("bios_mb_info", "version_label_color", "white") << "Bios Version " << r
20552055
<< getColor("bios_mb_info", ":", "white") << ": " << r
20562056
<< getColor("bios_mb_info", "version_value_color", "white") << sys.get_bios_version() << r;
20572057
lp.push(ss.str());
@@ -2061,7 +2061,7 @@ int main(){
20612061
if (isSubEnabled("bios_mb_info", "show_bios_date")) {
20622062
ostringstream ss;
20632063
ss << getColor("bios_mb_info", "~", "white") << "~ " << r
2064-
<< getColor("bios_mb_info", "date_label_color", "white") << "Bios Date " << r
2064+
<< getColor("bios_mb_info", "date_label_color", "white") << "Bios Date " << r
20652065
<< getColor("bios_mb_info", ":", "white") << ": " << r
20662066
<< getColor("bios_mb_info", "date_value_color", "white") << sys.get_bios_date() << r;
20672067
lp.push(ss.str());
@@ -2071,7 +2071,7 @@ int main(){
20712071
if (isSubEnabled("bios_mb_info", "show_mb_model")) {
20722072
ostringstream ss;
20732073
ss << getColor("bios_mb_info", "~", "white") << "~ " << r
2074-
<< getColor("bios_mb_info", "model_label_color", "white") << "Motherboard Model " << r
2074+
<< getColor("bios_mb_info", "model_label_color", "white") << "Motherboard Model " << r
20752075
<< getColor("bios_mb_info", ":", "white") << ": " << r
20762076
<< getColor("bios_mb_info", "model_value_color", "white") << sys.get_motherboard_model() << r;
20772077
lp.push(ss.str());
@@ -2081,7 +2081,7 @@ int main(){
20812081
if (isSubEnabled("bios_mb_info", "show_mb_manufacturer")) {
20822082
ostringstream ss;
20832083
ss << getColor("bios_mb_info", "~", "white") << "~ " << r
2084-
<< getColor("bios_mb_info", "mfg_label_color", "white") << "Motherboard Manufacturer " << r
2084+
<< getColor("bios_mb_info", "mfg_label_color", "white") << "Motherboard Manufacturer " << r
20852085
<< getColor("bios_mb_info", ":", "white") << ": " << r
20862086
<< getColor("bios_mb_info", "mfg_value_color", "white") << sys.get_motherboard_manufacturer() << r;
20872087
lp.push(ss.str());

project_binary_fetch/binary_fetch_v1/resources/Default_BinaryFetch_Config.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@
421421
"show_upload": true,
422422
"show_download": true,
423423
"#-": "bright_blue",
424-
"~": "bright_cyan",
424+
"~": "red",
425425
":": "red",
426426
"separator_line": "cyan",
427427
"header_text_color": "red",
@@ -454,7 +454,7 @@
454454
"show_upload": true,
455455
"show_download": true,
456456
"#-": "bright_blue",
457-
"~": "bright_cyan",
457+
"~": "red",
458458
":": "red",
459459
"separator_line": "cyan",
460460
"header_text_color": "red",
@@ -486,7 +486,7 @@
486486
"show_install_date": true,
487487
"show_serial": true,
488488
"#-": "bright_blue",
489-
"~": "bright_cyan",
489+
"~": "red",
490490
":": "red",
491491
"separator_line": "cyan",
492492
"header_text_color": "red",
@@ -520,7 +520,7 @@
520520
"show_l2_cache": true,
521521
"show_l3_cache": true,
522522
"#-": "bright_blue",
523-
"~": "bright_cyan",
523+
"~": "red",
524524
":": "red",
525525
"%": "cyan",
526526
"separator_line": "cyan",
@@ -655,7 +655,7 @@
655655
"show_mb_model": true,
656656
"show_mb_manufacturer": true,
657657
"#-": "bright_blue",
658-
"~": "bright_cyan",
658+
"~": "red",
659659
":": "red",
660660
"separator_line": "cyan",
661661
"header_text_color": "red",
@@ -677,7 +677,7 @@
677677
"show_computer_name": true,
678678
"show_domain": true,
679679
"#-": "bright_blue",
680-
"~": "bright_cyan",
680+
"~": "red",
681681
":": "red",
682682
"separator_line": "cyan",
683683
"header_text_color": "red",
@@ -697,7 +697,7 @@
697697
"show_disk_usage": true,
698698
"show_gpu_usage": true,
699699
"#-": "bright_blue",
700-
"~": "bright_cyan",
700+
"~": "red",
701701
":": "red",
702702
"%": "blue",
703703
"separator_line": "cyan",
@@ -718,7 +718,7 @@
718718
"show_power_info": true,
719719
"show_power_header": true,
720720
"#-": "bright_blue",
721-
"~": "bright_cyan",
721+
"~": "red",
722722
"separator_line": "cyan",
723723
"bracket_color": "blue",
724724
"unit_color": "bright_cyan",

0 commit comments

Comments
 (0)