generate electron-api.json and upload with release
This commit is contained in:
parent
67c89b68d3
commit
8d201ae1ad
3 changed files with 6 additions and 2 deletions
|
@ -85,6 +85,7 @@ def main():
|
|||
copy_chrome_binary('chromedriver')
|
||||
copy_chrome_binary('mksnapshot')
|
||||
copy_license()
|
||||
copy_api_json()
|
||||
|
||||
if PLATFORM == 'linux':
|
||||
strip_binaries()
|
||||
|
@ -128,6 +129,8 @@ def copy_license():
|
|||
DIST_DIR)
|
||||
shutil.copy2(os.path.join(SOURCE_ROOT, 'LICENSE'), DIST_DIR)
|
||||
|
||||
def copy_api_json():
|
||||
shutil.copy2(os.path.join(OUT_DIR, 'electron-api.json'), DIST_DIR)
|
||||
|
||||
def strip_binaries():
|
||||
for binary in TARGET_BINARIES[PLATFORM]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue