Bug fix for consecutive create config presses when using SteamOS FW bootnum option
This commit is contained in:
jlobue10 2023-02-24 19:27:38 -08:00 committed by GitHub
parent 579d0c2d1b
commit 1f6f306490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -265,6 +265,7 @@ void MainWindow::on_Install_Config_clicked()
}
string MainWindow::Get_FW_BootNum() {
FW_BootNum_SteamOS.clear();
FILE *process;
char buff[1024];
process = popen("efibootmgr | grep steam | grep -Eo '[0-9]{1,4}' | head -1", "r");