nats-nui / nui

Free and Open Source NATS management GUI.
https://natsnui.app
The Unlicense
175 stars 17 forks source link

compile for webkit2gtk-4.1 on Linux #9

Closed akhenakh closed 4 months ago

akhenakh commented 5 months ago

Arch is using webkit2gtk-4.1

To compile nui I had to update go.mod to: github.com/wailsapp/wails/v2 v2.9.1

Use wails 2.9.1 and pass: wails-2.9.1 build -tags webkit2_41

Hoping it may help other users.

pricelessrabbit commented 5 months ago

thanks for the tip! i'll definitely have a look at that. Need to have some tries to ensure it not affects distros with webkit2gtk-4.0

pricelessrabbit commented 4 months ago

@akhenakh in v0.4.2-beta3 i added different builds to support both gtk 4.0 and 4.1. Could you have a try with linux-amd64-nui-app? it should work out of the box using using webkit2gtk-4.1

pricelessrabbit commented 4 months ago

released v0.4.2 with default supprt for webkit2gtk-4.1

akhenakh commented 4 months ago

sorry for the late answer @pricelessrabbit tested main branch successfully, thank you