Add Windows build script

This commit is contained in:
Hermes Agent
2026-09-11 12:56:19 +02:00
parent 464324aedf
commit e779bd3423
2 changed files with 50 additions and 0 deletions
+16
View File
@@ -62,6 +62,22 @@ Copiez `config.json.template` vers `config.json` puis adaptez :
## Compilation
### Windows
Après clonage du dépôt, lancez simplement :
```bat
build.bat
```
Le script crée `.venv`, installe les dépendances, nettoie les anciens artefacts puis génère un exécutable Windows autonome :
```text
dist\ai-typewriter.exe
```
### Commande PyInstaller équivalente
```bash
pyinstaller --onefile --paths src --name ai-typewriter.exe main.py
```