Use bundled Qemu on Windows and OSX by default and checks if remote server are registered.

This commit is contained in:
Jeremy committed 2014-12-04 12:25:49 -07:00
1 parent 5a468888c8
commit f58c7960c9
2 files changed
+48

No files matched your search

+2
View File
@@ -639,6 +639,8 @@ class Qemu(IModule):
elif sys.platform.startswith("darwin"):
# add specific locations on Mac OS X regardless of what's in $PATH
paths.extend(["/usr/local/bin", "/opt/local/bin"])
if hasattr(sys, "frozen"):
paths.append(os.path.abspath(os.path.join(os.getcwd(), "../../../qemu/bin/")))
for path in paths:
try:
for f in os.listdir(path):