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

fallback if snap is targetted #200

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jloupdef
Copy link

@jloupdef jloupdef commented Jan 2, 2024

This PR fixes #186 by reverting the canonalization in case the final binary is snap (when chromium is installed through snap).
We still try to make the path absolute and clean it. It might not be as effective but we only be done when snap is detected and used in a case which wasn't working before.

It will be more elegant to use fs::absolute but the feature is still in nightly rust version.

src/browser.rs Outdated Show resolved Hide resolved
@jloupdef jloupdef requested a review from mattsse January 2, 2024 21:57
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.

Error unknown flag 'disable-background-networking' while using with Chromium
3 participants