Update PEMenu
This commit is contained in:
parent
2b2a5160fd
commit
e6a998fa37
8 changed files with 11 additions and 2 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
5
include/menu_entries/11_boot-diags.toml
Normal file
5
include/menu_entries/11_boot-diags.toml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
name = 'Boot-Diagnostics'
|
||||
command = 'X:\tools\boot-diags.exe'
|
||||
description = "Boot issue assessment tool"
|
||||
use_conemu = true
|
||||
separator = false
|
||||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in a new issue