5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 01:43:15 +08:00

Add webkit2gtk-4.1 instructions.

This commit is contained in:
Lea Anthony 2024-06-17 19:03:03 +10:00
parent 50f9925b7b
commit dd2287c6da
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405
2 changed files with 6 additions and 4 deletions

View File

@ -7,8 +7,9 @@ sidebar_position: 6
From the project directory, run `wails build`. From the project directory, run `wails build`.
This will compile your project and save the production-ready binary in the `build/bin` directory. This will compile your project and save the production-ready binary in the `build/bin` directory.
::: warning :::info Linux
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 are using a Linux distribution that does not have webkit2gtk-4.0 (such as Ubuntu 22.04), you will need to add `-tags webkit2_41`.
:::
If you run the binary, you should see the default application: If you run the binary, you should see the default application:

View File

@ -7,8 +7,9 @@ sidebar_position: 6
From the project directory, run `wails build`. From the project directory, run `wails build`.
This will compile your project and save the production-ready binary in the `build/bin` directory. This will compile your project and save the production-ready binary in the `build/bin` directory.
::: warning :::info Linux
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 are using a Linux distribution that does not have webkit2gtk-4.0 (such as Ubuntu 22.04), you will need to add `-tags webkit2_41`.
:::
If you run the binary, you should see the default application: If you run the binary, you should see the default application: