From b263b8d5d5ba22ebddf4407ae876b94fa738acce Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 2 Jul 2024 11:56:17 +0200 Subject: [PATCH] useless if --- windows/installers/runner.ps1 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/windows/installers/runner.ps1 b/windows/installers/runner.ps1 index 0d76b34..d63b64b 100644 --- a/windows/installers/runner.ps1 +++ b/windows/installers/runner.ps1 @@ -2,11 +2,6 @@ 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