From 4d5b9861dd1aef622d9b34adcbf6c4d908a31a5e Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Mon, 8 Jun 2015 15:33:46 -0700 Subject: [PATCH] Fixed bug where the VirtualBox shared folder would attempt to be created twice on Windows --- src/stores/SetupStore.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/stores/SetupStore.js b/src/stores/SetupStore.js index ddedcb3545..8d7151c1ce 100644 --- a/src/stores/SetupStore.js +++ b/src/stores/SetupStore.js @@ -66,16 +66,6 @@ var _steps = [{ yield machine.rm(); } yield machine.create(); - if(util.isWindows()) { - let home = util.home(); - let driveLetter = home.charAt(0); - let parts = home.split('\\').slice(0, -1); - let usersDirName = parts[parts.length-1]; - let usersDirPath = parts.join('\\'); - let shareName = driveLetter + '/' + usersDirName; - yield virtualBox.mountSharedDir(machine.name(), shareName, usersDirPath); - yield machine.start(); - } return; }