We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I'm currently creating an electron based app under Wayland on Arch Linux.
Is there a way to start "npm run dev" with required flags for wayland?
Can do it after the build on the AppImage but not on Development.
Thanks.
The text was updated successfully, but these errors were encountered:
I have the same problem. Is there any way to run the dev environment in native wayland?
Sorry, something went wrong.
You can pass electron flags into the dev script.
dev
For example,
"dev": "electron-vite dev -- --enable-features=UseOzonePlatform --ozone-platform=wayland",
This runs the development environment in native Wayland.
Linking the relevant section to the docs below
https://electron-vite.org/guide/dev#passing-arguments-to-electron-app
No branches or pull requests
Hello,
I'm currently creating an electron based app under Wayland on Arch Linux.
Is there a way to start "npm run dev" with required flags for wayland?
Can do it after the build on the AppImage but not on Development.
Thanks.
The text was updated successfully, but these errors were encountered: