]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix generating distribution for chromedriver
authorCheng Zhao <zcbenz@gmail.com>
Wed, 8 Apr 2015 14:22:40 +0000 (22:22 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 8 Apr 2015 14:22:40 +0000 (22:22 +0800)
script/lib/util.py

index 04ee9817e28dcd083eb28fe2e5b0e9e2680ea0a2..698da95080a43f39b11ab7a39b549b0e271bf2a4 100644 (file)
@@ -160,7 +160,7 @@ def get_atom_shell_version():
 
 def get_chromedriver_version():
   SOURCE_ROOT = os.path.abspath(os.path.join(__file__, '..', '..', '..'))
-  chromedriver = os.path.join(SOURCE_ROOT, 'out', 'R', 'chromedriver')
+  chromedriver = os.path.join(SOURCE_ROOT, 'dist', 'chromedriver')
   output = subprocess.check_output([chromedriver, '-v']).strip()
   return 'v' + output[13:output.rfind(' ')]