mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-03-29 08:39:03 +08:00
Fix creating empty chromedriver archive.
This commit is contained in:
@@ -147,6 +147,10 @@ def copy_binaries():
|
||||
def copy_chromedriver():
|
||||
build = os.path.join(SOURCE_ROOT, 'script', 'build.py')
|
||||
execute([sys.executable, build, '-c', 'Release', '-t', 'copy_chromedriver'])
|
||||
binary = 'chromedriver'
|
||||
if TARGET_PLATFORM == 'win32':
|
||||
binary += '.exe'
|
||||
shutil.copy2(os.path.join(OUT_DIR, binary), DIST_DIR)
|
||||
|
||||
|
||||
def copy_headers():
|
||||
|
||||
Reference in New Issue
Block a user