Update PEMenu

This commit is contained in:
2Shirt 2025-02-16 23:16:26 -08:00
parent 2b2a5160fd
commit e6a998fa37
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
8 changed files with 11 additions and 2 deletions

View file

@ -687,9 +687,12 @@ fn get_chunks(r: Rect) -> Vec<Rect> {
fn build_footer_string(cur_mode: Mode) -> String {
match cur_mode {
Mode::BootDiags => String::from("(r) to refresh / (q) to quit"),
Mode::BootScan | Mode::BootSetup | Mode::Home | Mode::PEMenu | Mode::ScanDisks => {
Mode::BootScan | Mode::BootSetup | Mode::Home | Mode::ScanDisks => {
String::from("(q) to quit")
}
Mode::PEMenu => {
String::from("(Enter) to select / (t) for terminal / (p) to power off / (r) to restart")
}
Mode::InstallDrivers | Mode::InjectDrivers | Mode::SetBootMode => {
String::from("(Enter) to select / (q) to quit")
}

View file

@ -0,0 +1,5 @@
name = 'Boot-Diagnostics'
command = 'X:\tools\boot-diags.exe'
description = "Boot issue assessment tool"
use_conemu = true
separator = false

View file

@ -376,8 +376,9 @@ pub fn build_command(app: &App, tool: &Tool) -> TaskType {
let start_index: usize;
if tool.use_conemu {
cmd_path = app.config.conemu_path.clone();
cmd_args.push(String::from("-new_console:n"));
cmd_args.push(String::from("-run"));
cmd_args.push(tool.command.clone());
cmd_args.push(String::from("-new_console:n"));
start_index = 1;
} else {
cmd_path = PathBuf::from(tool.command.clone());