|
1 | | -# init_computer |
| 1 | +# init_mac |
2 | 2 |
|
3 | 3 | Simple repo pour ré-installer plus vite un ordinateur neuf (macOS, Windows, Linux). |
4 | 4 |
|
5 | 5 | ## Installation rapide |
6 | 6 |
|
7 | | -### Via les releases compilées (recommandé) |
| 7 | +### Via les releases (recommandé) |
8 | 8 |
|
9 | | -Télécharger la dernière release compilée : |
| 9 | +Télécharger la dernière release : |
10 | 10 | ```bash |
11 | | -curl -fsSL -o init_computer.tar.gz \ |
12 | | - https://github.com/axgd-code/init_computer/releases/download/$(curl -s https://api.github.com/repos/axgd-code/init_computer/releases/latest | grep tag_name | cut -d'"' -f4)/compiled-scripts.tar.gz |
13 | | -tar -xzf init_computer.tar.gz |
| 11 | +curl -fsSL -o init-mac.tar.gz \ |
| 12 | + https://github.com/axgd-code/init_mac/releases/download/$(curl -s https://api.github.com/repos/axgd-code/init_mac/releases/latest | grep tag_name | cut -d'"' -f4)/init-mac-scripts.tar.gz |
| 13 | +tar -xzf init-mac.tar.gz |
14 | 14 | bash init.sh |
15 | 15 | ``` |
16 | 16 |
|
17 | | -Ou télécharger manuellement depuis [releases](https://github.com/axgd-code/init_computer/releases), puis : |
| 17 | +Ou télécharger manuellement depuis [releases](https://github.com/axgd-code/init_mac/releases), puis : |
18 | 18 | ```bash |
19 | | -tar -xzf compiled-scripts.tar.gz |
| 19 | +tar -xzf init-mac-scripts.tar.gz |
20 | 20 | bash init.sh |
21 | 21 | ``` |
22 | 22 |
|
23 | 23 | ### Depuis le code source |
24 | 24 |
|
25 | 25 | Cloner et exécuter depuis les sources : |
26 | 26 | ```bash |
27 | | -git clone https://github.com/axgd-code/init_computer.git |
28 | | -cd init_computer |
| 27 | +git clone https://github.com/axgd-code/init_mac.git |
| 28 | +cd init_mac |
29 | 29 | bash src/init.sh |
30 | 30 | ``` |
31 | 31 |
|
@@ -376,28 +376,27 @@ Le script vérifie : |
376 | 376 |
|
377 | 377 | ### Build local |
378 | 378 |
|
379 | | -Compiler les scripts localement (nécessite `shc`) : |
| 379 | +Créer une archive locale des scripts : |
380 | 380 | ```bash |
381 | | -bash build.sh |
| 381 | +tar -czf init-mac-scripts.tar.gz -C src . |
382 | 382 | ``` |
383 | | -Les binaires et configuration apparaissent dans [dist](dist). |
384 | 383 |
|
385 | 384 | ### GitHub Actions CI |
386 | 385 |
|
387 | | -- [.github/workflows/ci.yml](.github/workflows/ci.yml) : à chaque push, compile et publie `compiled-scripts` comme artefact |
388 | | -- [.github/workflows/release.yml](.github/workflows/release.yml) : à chaque tag `v*`, crée une release GitHub avec les binaires compilés |
| 386 | +- [.github/workflows/ci.yml](.github/workflows/ci.yml) : à chaque push, compile et publie les scripts comme artefact |
| 387 | +- [.github/workflows/release.yml](.github/workflows/release.yml) : à chaque tag `v*`, crée une release GitHub avec les scripts |
389 | 388 |
|
390 | 389 | ### Créer une release |
391 | 390 |
|
392 | 391 | 1. Mettre à jour [VERSION](VERSION) |
393 | 392 | 2. Commiter |
394 | 393 | 3. Créer un tag et pousser : |
395 | 394 | ```bash |
396 | | -git tag v1.0.0 |
397 | | -git push origin v1.0.0 |
| 395 | +git tag v1.0.1 |
| 396 | +git push origin v1.0.1 |
398 | 397 | ``` |
399 | 398 |
|
400 | | -GitHub Actions compile et publie la release automatiquement. |
| 399 | +GitHub Actions crée la release automatiquement. |
401 | 400 |
|
402 | 401 | ## License |
403 | 402 |
|
|
0 commit comments