mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 15:34:15 +02:00
[web] refactoring: removing unneeded call to create the Electron cache directory
This commit is contained in:
@@ -192,7 +192,6 @@ class EnvironmentUpdater:
|
|||||||
return os.path.exists(NATIVEFIER_BIN_PATH)
|
return os.path.exists(NATIVEFIER_BIN_PATH)
|
||||||
|
|
||||||
def download_electron(self, version: str, url: str, widevine: bool, watcher: ProcessWatcher) -> bool:
|
def download_electron(self, version: str, url: str, widevine: bool, watcher: ProcessWatcher) -> bool:
|
||||||
Path(ELECTRON_CACHE_DIR).mkdir(parents=True, exist_ok=True)
|
|
||||||
self.logger.info("Downloading Electron {}".format(version))
|
self.logger.info("Downloading Electron {}".format(version))
|
||||||
|
|
||||||
electron_path = self._get_electron_file_path(url=url, relative=False)
|
electron_path = self._get_electron_file_path(url=url, relative=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user