Linux wayland
Electron has some level of Wayland support now, so let's make sure that all the environments we package the app in can run in wayland. My understanding is it still uses XWayland by default but there are flags to force wayland -- let's make sure those work.
Latest electron-builder added an option to allow wayland in snap package
Also see if we can make Wayland work in the flatpak package
That option is used to enable wayland support on Linux, but it makes it crash.
>>> turbowarp-desktop --ozone-platform-hint=auto
Crash dumps will be saved to /home/aspizu/.config/turbowarp-desktop/Crashpad
update checker: checked for update too recently
[19503:0100/000000.316494:ERROR:gpu_init.cc(521)] Passthrough is not supported, GL is egl, ANGLE is
[1] 19465 segmentation fault (core dumped) turbowarp-desktop --ozone-platform-hint=auto
(Wayland is needed for touchscreen and HiDPI support)
What distro are you using? If it's Arch, we use the system's electron20 package which is quite a bit behind upstream now.
My distro is Fedora Linux 37 (KDE Plasma) and I've used the tarball package to install TurboWarp manually.
Same problem here, using the
--enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto
args makes the app not start
I've hunted it down, it's a weird Electron bug. Gonna work around it and get a nice report sent upstream
Wayland will work in 1.11.0-beta.6 or 1.11.0 stable, whichever is first
Thank you so much.
Nice !