mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-07-16 05:51:35 +00:00
fix: disable wivrn launch options instructions in debug view
This commit is contained in:
parent
e65c4a8d9d
commit
c5460758c5
1 changed files with 5 additions and 2 deletions
|
@ -175,7 +175,7 @@ impl InternalJobWorker {
|
|||
}
|
||||
}
|
||||
}
|
||||
let mut launch_opts = prof.xrservice_launch_options.trim();
|
||||
let mut launch_opts = prof.xrservice_launch_options.trim().to_string();
|
||||
let debug_launch_opts = if debug {
|
||||
if launch_opts.contains(LAUNCH_OPTS_CMD_PLACEHOLDER) {
|
||||
format!("{} {}", "gdbserver localhost:9000", launch_opts)
|
||||
|
@ -189,10 +189,13 @@ impl InternalJobWorker {
|
|||
String::default()
|
||||
};
|
||||
launch_opts = if debug {
|
||||
debug_launch_opts.as_str()
|
||||
debug_launch_opts
|
||||
} else {
|
||||
launch_opts
|
||||
};
|
||||
if !launch_opts.contains(" --no-instructions") {
|
||||
launch_opts.push_str(" --no-instructions");
|
||||
}
|
||||
let (command, args) = match launch_opts.is_empty() {
|
||||
false => (
|
||||
"sh".into(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue