Skip to content

fix updating geckodriver when used from Electron app - #104

Open
artemv wants to merge 1 commit into
cnishina:masterfrom
artemv:fix-updating-gecko-from-electron
Open

fix updating geckodriver when used from Electron app#104
artemv wants to merge 1 commit into
cnishina:masterfrom
artemv:fix-updating-gecko-from-electron

Conversation

@artemv

@artemv artemv commented Jan 28, 2020

Copy link
Copy Markdown

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