Fix generating distribution for chromedriver
This commit is contained in:
parent
42dafd47fd
commit
0bc5d6438e
1 changed files with 1 additions and 1 deletions
|
@ -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(' ')]
|
||||
|
||||
|
|
Loading…
Reference in a new issue