quickemu-project / quickemu

Quickly create and run optimised Windows, macOS and Linux virtual machines
MIT License
10.88k stars 478 forks source link

refactor: remove redundant code from resolve_quickemu() #1404

Closed philclifford closed 1 month ago

philclifford commented 3 months ago

Description

resolve_quickemu has inelegant test logic with redundant duplicate usage of command. This refactors resolve_quickemu slightly to remove the redundancy. It also changes the local fallback test to look for an executable file rather than just a file.

Type of change

Checklist: