remove fwver from info header (#8)
This commit is contained in:
parent
b88c83d4d5
commit
7922bb06a3
@ -2,7 +2,7 @@
|
||||
#define UI_H
|
||||
|
||||
void ui_flash(char* flashtype);
|
||||
void ui_header(const char* fwver, const char* kernver, const char* tpmver, const char* fwmp, const char* gscver, const char* gsctype);
|
||||
void ui_header(const char* kernver, const char* tpmver, const char* fwmp, const char* gscver, const char* gsctype);
|
||||
void show_credits();
|
||||
void troll();
|
||||
void enterToContinue();
|
||||
|
@ -34,7 +34,7 @@ int main(int argc, char **argv) {
|
||||
sleep(86400);
|
||||
}
|
||||
|
||||
const char* fwver = getFirmwareVersion();
|
||||
// const char* fwver = getFirmwareVersion();
|
||||
const char* tpmver = getTpmVersion();
|
||||
const char* fwmp = getFWMPFlags();
|
||||
const char* gscver = getGSCRWVersion();
|
||||
@ -49,7 +49,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
printf("\033[H\033[J"); // clears the screen
|
||||
|
||||
ui_header(fwver, kernver, tpmver, fwmp, gscver, gsctype);
|
||||
ui_header(kernver, tpmver, fwmp, gscver, gsctype);
|
||||
printf("1) Flash new kernver \n");
|
||||
printf("2) Run KAUB (Kernver Automatic Update Blocker) \n");
|
||||
printf("3) Kernver FAQ \n");
|
||||
|
@ -64,10 +64,9 @@ void ui_flash(char* flashtype) {
|
||||
}
|
||||
}
|
||||
|
||||
void ui_header(const char* fwver, char* kernver, const char* tpmver, const char* fwmp, const char* gscver, const char* gsctype){
|
||||
void ui_header(char* kernver, const char* tpmver, const char* fwmp, const char* gscver, const char* gsctype){
|
||||
printf("KVS: Kernel Version Switcher (codename Maglev, bid: 2.0.0)\n");
|
||||
printf("FW Version: %s\n", fwver);
|
||||
printf("Kernel Version: %s\n", kernver);
|
||||
printf("Kernver: %s\n", kernver);
|
||||
printf("TPM: %s\n", tpmver);
|
||||
printf("FWMP: %s\n", fwmp);
|
||||
printf("GSC RW Version: %s\n", gscver);
|
||||
|
Loading…
x
Reference in New Issue
Block a user