Add winget repair helper and remove winget configure --enable prerequisite

Initialize-Winget.ps1 refreshes PATH, re-registers App Installer and
falls back to the provisioned package before exiting with a Store link.
All scripts that call winget now dot-source this helper instead of
failing on a missing winget.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-24 10:54:56 +02:00
parent 79ea61f445
commit 64352817f5
6 changed files with 84 additions and 26 deletions
+2 -8
View File
@@ -31,15 +31,9 @@ Petite boîte à outils Windows pour installer des packs de logiciels libres ave
## ✅ Prérequis
Lance les commandes depuis un **terminal administrateur** sous Windows.
Lance les commandes depuis un **terminal administrateur** sous Windows. winget doit être disponible (App Installer depuis le Microsoft Store).
Active d'abord la prise en charge des configurations winget :
```powershell
winget configure --enable
```
Les packs YAML automatisés n'imposent pas de version précise de Windows. Ils nécessitent un système Windows avec la prise en charge des configurations winget activée.
Les packs YAML automatisés nécessitent winget 1.6 ou version ultérieure.
<a id="installateur-interactif"></a>