Skip to content

Commit 8c5316e

Browse files
authored
Merge pull request #728 from Ana06/fix-installer
[installer] Fix typo in installer
2 parents 3825725 + a727da8 commit 8c5316e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

install.ps1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -292,63 +292,63 @@ if ($noGui.IsPresent) {
292292
Write-Host "[+] Checking if PowerShell version is compatible (mandatory)..."
293293
$error_info = Test-PSVersion
294294
if ($error_info){
295-
Write-Host "`t[!]$error_info" -ForegroundColor Red
295+
Write-Host "`t[!] $error_info" -ForegroundColor Red
296296
$mandatoryChecksPassed = $false
297297
}
298298

299299
# Ensure script is ran as administrator
300300
Write-Host "[+] Checking if script is running as administrator (mandatory)..."
301301
$error_info = Test-Admin
302302
if ($error_info) {
303-
Write-Host "`t[!]$error_info" -ForegroundColor Red
303+
Write-Host "`t[!] $error_info" -ForegroundColor Red
304304
$mandatoryChecksPassed = $false
305305
}
306306

307307
# Ensure execution policy is unrestricted
308308
Write-Host "[+] Checking if execution policy is unrestricted.. (mandatory)."
309309
$error_info = Test-ExecutionPolicy
310310
if ($error_info) {
311-
Write-Host "`t[!]$error_info" -ForegroundColor Red
311+
Write-Host "`t[!] $error_info" -ForegroundColor Red
312312
$mandatoryChecksPassed = $false
313313
}
314314

315315
# Check if Windows < 10
316316
Write-Host "[+] Checking Operating System version compatibility..."
317317
$error_info = Test-WindowsVersion
318318
if ($error_info) {
319-
Write-Host "`t[!]$error_info" -ForegroundColor Yellow
319+
Write-Host "`t[!] $error_info" -ForegroundColor Yellow
320320
$script:checksPassed = $false
321321
}
322322

323323
# Check if host has been tested
324324
Write-Host "[+] Checking if the Operating System has been tested..."
325325
$error_info= Test-TestedOS
326326
if ($error_info) {
327-
Write-Host "`t[!]$error_info" -ForegroundColor Yellow
327+
Write-Host "`t[!] $error_info" -ForegroundColor Yellow
328328
$script:checksPassed = $false
329329
}
330330

331331
# Check if system is a virtual machine
332332
Write-Host "[+] Checking if the system runs on a Virtual Machine..."
333333
$error_info = Test-VM
334334
if ($error_info) {
335-
Write-Host "`t[!]$error_info" -ForegroundColor Yellow
335+
Write-Host "`t[!] $error_info" -ForegroundColor Yellow
336336
$script:checksPassed = $false
337337
}
338338

339339
# Check for spaces in the username, exit if identified
340340
Write-Host "[+] Checking for spaces in the username... (mandatory)"
341341
$error_info = Test-SpaceUserName
342342
if ($error_info) {
343-
Write-Host "`t[!]$error_info" -ForegroundColor Red
343+
Write-Host "`t[!] $error_info" -ForegroundColor Red
344344
$mandatoryChecksPassed = $false
345345
}
346346

347347
# Check if host has enough disk space
348348
Write-Host "[+] Checking if host has enough disk space..."
349349
$error_info = Test-Storage
350350
if ($error_info) {
351-
Write-Host "`t[!]$error_info" -ForegroundColor Yellow
351+
Write-Host "`t[!] $error_info" -ForegroundColor Yellow
352352
$script:checksPassed = $false
353353
}
354354

0 commit comments

Comments
 (0)