Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix updating geckodriver when used from Electron app #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

artemv
Copy link

@artemv artemv commented Jan 28, 2020

In case update is used from packaged Electron app on Mac, tar.extract tries to use the dir inside packed app for extraction by default and fails silently; then GeckoDriver.updateBinary never resolves.

This fix tells tar.extract to unpack to destination dir which needs to be outside of app package dir in case of Electron client.

Electron app can be packed e.g. in Mac, so need to unpack to destination dir. Otherwise `update` never resolves.
@artemv artemv changed the title fix: fix extracting geckodriver when used from Electron app fix: fix updating geckodriver when used from Electron app Jan 28, 2020
@artemv artemv changed the title fix: fix updating geckodriver when used from Electron app fix updating geckodriver when used from Electron app Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant