mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-04-20 11:35:48 +00:00
feat: better fail error on wivrn install if computer is unauthorized
This commit is contained in:
parent
162ac1394e
commit
121a69a04f
1 changed files with 3 additions and 0 deletions
|
@ -161,6 +161,9 @@ impl SimpleComponent for InstallWivrnBox {
|
|||
self.install_runner.take();
|
||||
self.set_install_wivrn_status(match status {
|
||||
None | Some(0) => InstallWivrnStatus::Success,
|
||||
Some(255) => {
|
||||
InstallWivrnStatus::Done(Some("You need to authorize this computer to run developer commands in your headset. Authorize it and try again.".into()))
|
||||
}
|
||||
Some(err_code) => InstallWivrnStatus::Done(Some(format!(
|
||||
"ADB exited with code \"{c}\"",
|
||||
c = err_code
|
||||
|
|
Loading…
Add table
Reference in a new issue