This commit is contained in:
Mylloon 2024-07-02 11:40:49 +02:00
parent 070dcfaffe
commit 1ecc503f12
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 27 additions and 0 deletions

View file

@ -6,6 +6,14 @@
- Télécharger et lancer [windows11.bat](./windows11.bat) - Télécharger et lancer [windows11.bat](./windows11.bat)
### Mise à jour de certains programmes
```batch
curl.exe "https://git.mylloon.fr/Anri/confOS/raw/branch/main/windows/installers/runner.ps1" | PowerShell -Command -Script "script"
```
Avec le paramètre `script` le programme à (ré-)installer
## WSL (Arch) ## WSL (Arch)
Tout d'abord, installer [ArchWSL](https://github.com/yuk7/ArchWSL/releases) Tout d'abord, installer [ArchWSL](https://github.com/yuk7/ArchWSL/releases)

View file

@ -0,0 +1,19 @@
param (
[string]$script
)
if (-not $script) {
Write-Host "No script found"
exit
}
$fileName = "$script.bat"
$url = "https://git.mylloon.fr/Anri/confOS/raw/branch/main/windows/installers/$fileName"
$filePath = Join-Path -Path $env:TEMP -ChildPath $fileName
Invoke-WebRequest -Uri $url -OutFile $filePath
& $filePath
Remove-Item -Path $filePath
exit