mirror of
https://github.com/GNS3/gns3-gui.git
synced 2026-05-17 00:46:01 +03:00
Adds default path for VBoxManage on Mac OS X.
This commit is contained in:
@@ -32,6 +32,8 @@ if sys.platform.startswith("win"):
|
||||
DEFAULT_VBOXMANAGE_PATH = os.path.join(os.environ["VBOX_MSI_INSTALL_PATH"], "VBoxManage.exe")
|
||||
else:
|
||||
DEFAULT_VBOXMANAGE_PATH = "VBoxManage.exe"
|
||||
elif sys.platform.startswith("darwin"):
|
||||
DEFAULT_VBOXMANAGE_PATH = "/Applications/VirtualBox.app/Contents/MacOS/VBoxManage"
|
||||
else:
|
||||
paths = [os.getcwd()] + os.environ["PATH"].split(os.pathsep)
|
||||
# look for vboxmanage in the current working directory and $PATH
|
||||
|
||||
Reference in New Issue
Block a user