mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 06:19:43 +08:00
27 lines
777 B
Plaintext
27 lines
777 B
Plaintext
---
|
|
sidebar_position: 6
|
|
---
|
|
|
|
# Compiler votre projet
|
|
|
|
À partir du répertoire du projet, exécutez `wails build`. Cela compilera votre projet et sauvegardera le binaire prêt à la production dans le répertoire `build/bin`.
|
|
|
|
:::info Linux
|
|
If you are using a Linux distribution that does not have webkit2gtk-4.0 (such as Ubuntu 24.04), you will need to add `-tags webkit2_41`.
|
|
:::
|
|
|
|
Si vous exécutez le binaire, vous devriez voir l'application par défaut :
|
|
|
|
```mdx-code-block
|
|
<div class="text--center">
|
|
<img
|
|
src={require("@site/static/img/defaultproject.webp").default}
|
|
width="50%"
|
|
class="screenshot"
|
|
/>
|
|
</div>
|
|
<br />
|
|
```
|
|
|
|
Pour plus de détails sur les options de compilation, veuillez vous référer à la [documentation du CLI](../reference/cli.mdx#build).
|