From 50f9925b7b1602c244337162ae1eec14fe691a69 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Mon, 17 Jun 2024 18:49:29 +1000 Subject: [PATCH] Add webkit2gtk-4.1 instructions. --- website/docs/gettingstarted/building.mdx | 3 +++ .../versioned_docs/version-v2.9.0/gettingstarted/building.mdx | 3 +++ 2 files changed, 6 insertions(+) diff --git a/website/docs/gettingstarted/building.mdx b/website/docs/gettingstarted/building.mdx index 2668b19da..ec5c69851 100644 --- a/website/docs/gettingstarted/building.mdx +++ b/website/docs/gettingstarted/building.mdx @@ -7,6 +7,9 @@ sidebar_position: 6 From the project directory, run `wails build`. This will compile your project and save the production-ready binary in the `build/bin` directory. +::: warning + If you are using Ubuntu 22.04 (or any distribution that does not have webkit2gtk-4.0), you will need to add `-tags webkit2_41`. + If you run the binary, you should see the default application: ```mdx-code-block diff --git a/website/versioned_docs/version-v2.9.0/gettingstarted/building.mdx b/website/versioned_docs/version-v2.9.0/gettingstarted/building.mdx index 2668b19da..ec5c69851 100644 --- a/website/versioned_docs/version-v2.9.0/gettingstarted/building.mdx +++ b/website/versioned_docs/version-v2.9.0/gettingstarted/building.mdx @@ -7,6 +7,9 @@ sidebar_position: 6 From the project directory, run `wails build`. This will compile your project and save the production-ready binary in the `build/bin` directory. +::: warning + If you are using Ubuntu 22.04 (or any distribution that does not have webkit2gtk-4.0), you will need to add `-tags webkit2_41`. + If you run the binary, you should see the default application: ```mdx-code-block