Revert "Another mop up commit to add missing changes from the last mop-up."

This reverts commit 1dcd276b1e.
This commit is contained in:
Shady Ibraheem
2019-12-18 17:37:59 -05:00
parent 66ab18a8ba
commit 54f8ffa773
188 changed files with 7393 additions and 7333 deletions

View File

@@ -1,25 +1,25 @@
################################################################################
## File: Validate-Firefox.ps1
## Desc: Validate Mozilla Firefox installation.
################################################################################
if(Test-Path "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe")
{
(Get-Item (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe').'(Default)').VersionInfo
$fileVersion = (Get-Item (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe').'(Default)').VersionInfo.FileVersion
$SoftwareName = "Mozilla Firefox"
$Description = @"
_version:_
$fileVersion
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
exit 0
}
else
{
Write-Host "Mozilla Firefox is not installed."
exit 1
}
################################################################################
## File: Validate-Firefox.ps1
## Desc: Validate Mozilla Firefox installation.
################################################################################
if(Test-Path "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe")
{
(Get-Item (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe').'(Default)').VersionInfo
$fileVersion = (Get-Item (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe').'(Default)').VersionInfo.FileVersion
$SoftwareName = "Mozilla Firefox"
$Description = @"
_version:_
$fileVersion
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
exit 0
}
else
{
Write-Host "Mozilla Firefox is not installed."
exit 1
}