Commit aaeec51
committed
Handle missing exe path and update StartController
DeviceManager.get_exe_path now returns None early if a device has no full_path or if the referenced path does not exist, preventing incorrect fall-through to the emulator branch. StartController's start_device check no longer requires device['full_path'] before enforcing the Windows admin privilege prompt, so disconnected Windows devices will trigger the admin check regardless of full_path. These changes avoid incorrect exe resolution and potential errors when full_path is missing.1 parent 488531a commit aaeec51
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
708 | 708 | | |
709 | 709 | | |
710 | 710 | | |
| 711 | + | |
| 712 | + | |
711 | 713 | | |
712 | 714 | | |
713 | 715 | | |
| |||
724 | 726 | | |
725 | 727 | | |
726 | 728 | | |
| 729 | + | |
727 | 730 | | |
728 | 731 | | |
729 | 732 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments