mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Use bundled Qemu on Windows and OSX by default and checks if remote server are registered.
This commit is contained in:
1 parent
5a468888c8
commit
f58c7960c9
2 files changed
+48
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user