Browse Source

Do not copy api.json on Windows

Cheng Zhao 8 years ago
parent
commit
3dad8734a0
1 changed files with 3 additions and 1 deletions
  1. 3 1
      script/create-dist.py

+ 3 - 1
script/create-dist.py

@@ -85,7 +85,9 @@ def main():
   copy_chrome_binary('chromedriver')
   copy_chrome_binary('mksnapshot')
   copy_license()
-  copy_api_json_schema()
+
+  if PLATFORM != 'win32':
+    copy_api_json_schema()
 
   if PLATFORM == 'linux':
     strip_binaries()