5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 06:32:10 +08:00

Add webkit2gtk-4.1 instructions.

This commit is contained in:
Lea Anthony 2024-06-17 18:49:29 +10:00
parent 969e0a8a35
commit 50f9925b7b
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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