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: support MacOS/Windows in non-headless mode. #7

Merged
merged 8 commits into from
Mar 5, 2023

Conversation

mihaiav
Copy link
Contributor

@mihaiav mihaiav commented Feb 7, 2023

This PR fixes the compilation issue on MacOS and potentially Windows with minimal invasion. It simply moves the ModifyCmdFunc option into a tag specific build(windows,linux,macos) file.
It does not provide support for MacOS and Windows in headless mode but it fails gracefully.
Further support for headless mode on Windows and MacOS can be added in the stub files (i.e. chrome_darwin).

@mihaiav mihaiav mentioned this pull request Feb 7, 2023
mihai and others added 4 commits February 10, 2023 19:51
@Davincible
Copy link
Owner

Davincible commented Mar 3, 2023

Hey man, sorry for the late review, but good work on this PR. I like how you kept the OS specific files lean, that is what I was looking for.

Please fix the linting issues, other than that the code looks good

@mihaiav
Copy link
Contributor Author

mihaiav commented Mar 5, 2023

Unfortunately I don't know what the linter wants...I spent 15 minutes trying to understand what it means if statements should only be cuddled with assignments only one cuddle assignment allowed before if statement
only one cuddle assignment allowed before if statement sounds like a different language.
If there is a formatter I can use I definitely don't mind but this is just impossible.

@Davincible
Copy link
Owner

It wants you to add white space. I'll fix them

@Davincible
Copy link
Owner

Looks good now, thanks for the work!

@Davincible Davincible changed the title Support MacOS/Windows in non-headless mode. fix: support MacOS/Windows in non-headless mode. Mar 5, 2023
@Davincible Davincible merged commit 0318d92 into Davincible:master Mar 5, 2023
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.

2 participants