Browse Source

sync win32 download function

zhyim 2 years ago
parent
commit
145250c151
1 changed files with 2 additions and 0 deletions
  1. 2 0
      ElectronJS/update_chrome.py

+ 2 - 0
ElectronJS/update_chrome.py

@@ -175,6 +175,8 @@ if __name__ == "__main__":
                 "./chromedrivers/chromedriver.exe",
                 "./chrome_win64/chromedriver_win64.exe",
             )
+        finally:
+            shutil.rmtree("./chromedrivers")
     elif sys.platform == "linux" and platform.architecture()[0] == "64bit":
         pass
     elif sys.platform == "darwin" and platform.architecture()[0] == "64bit":