mirror of
https://github.com/lptstr/winfetch.git
synced 2026-09-24 23:29:43 -05:00
Explicit Write-Output
This commit is contained in:
@@ -104,9 +104,9 @@ if ($genconf) {
|
||||
Write-Host 'ERROR: configuration file already exists!' -f red
|
||||
exit 1
|
||||
}
|
||||
"INFO: downloading default config to '$config'."
|
||||
Write-Output "INFO: downloading default config to '$config'."
|
||||
Invoke-WebRequest -Uri $defaultconfig -OutFile $config -UseBasicParsing
|
||||
'INFO: successfully completed download.'
|
||||
Write-Output 'INFO: successfully completed download.'
|
||||
exit 0
|
||||
}
|
||||
|
||||
@@ -421,7 +421,7 @@ while ($counter -lt $info.Count) {
|
||||
}
|
||||
|
||||
if ($item_content -notlike '*disabled') {
|
||||
" ${logo_line}$e[40G${item_title}${item_content}"
|
||||
Write-Output " ${logo_line}$e[40G${item_title}${item_content}"
|
||||
}
|
||||
|
||||
$counter++
|
||||
|
||||
Reference in New Issue
Block a user