mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add action to copy chromedriver.
This commit is contained in:
12
tools/copy_binary.py
Executable file
12
tools/copy_binary.py
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import stat
|
||||
import sys
|
||||
|
||||
src = sys.argv[1]
|
||||
dist = sys.argv[2]
|
||||
|
||||
shutil.copyfile(src, dist)
|
||||
os.chmod(dist, os.stat(dist).st_mode | stat.S_IEXEC)
|
||||
Reference in New Issue
Block a user