Last active
May 29, 2024 19:30
-
-
Save pojntfx/97d515982557fb89af8932b0eb456504 to your computer and use it in GitHub Desktop.
Renderer a GTK4/libadwaita Flatpak application in the browser with Broadway
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
gtk4-broadwayd :5 | |
# Natively | |
GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 workbench | |
# Flatpak | |
flatpak run --env=GDK_BACKEND=broadway --env=BROADWAY_DISPLAY=:5 --filesystem=/run/user/1000 re.sonny.Workbench | |
# Now open http://localhost:8085/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment