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

Make Eel work with Microsoft Edge on Linux #681

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

Conversation

thatfloflo
Copy link
Contributor

@thatfloflo thatfloflo commented Mar 31, 2023

Microsoft Edge is available for Linux, at least from the Insider Channel -- see Debian package downloads and instructions.

This PR implements the general detection mode using whichcraft.which to find microsoft-edge on Linux. The primary Edge example has been updated to reflect this, with a fallback to Chrome if Edge is not detected. The README.md has also been updated so the wording is more general and admits the option of using Edge on Linux.

The primary use case I see is enabling greater consistency of behaviour across platforms, especially if #612 and/or #663 are pulled in.

The PR has been written in such a way that it should be readily compatible with @properchopsticks' PR #612 which adds the start msedge --app option and @doug-benn's PR #663 which aims to enable app mode for Edge based on finding the executable path on Windows, regardless of which of the these PRs is integrated first. I think they'd probably all three go well together to comprehensively cover the different ways Edge might be launched, as appropriate to the system configuration.

Tested on Ubuntu 22.04 with Microsoft Edge 112.0.1722.23 beta and Windows 11 22H2 with Microsoft Edge 111.0.1661.54. Also works with Ubuntu in WSL2 for me if --disable-gpu is passed as an additional command line argument.

@thatfloflo thatfloflo force-pushed the find_edge_on_linux branch 2 times, most recently from a6b2963 to 5c96074 Compare April 5, 2023 16:45
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