Added LibreOffice to applications.json and winutil.ps1 to fix #171 (#178)

* Fixes missing LibreOffice (#171)

Added missing LibreOffice to fix issue #171.

* Fixes missing LibreOffice (#171)

Added LibreOffice to winutil.ps1 to fix issue #171.
This commit is contained in:
hoffmanra 2022-09-25 13:53:48 -05:00 committed by GitHub
parent eee524111f
commit 5c9c3679f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,8 @@
{
"install": {
"Installlibreoffice": {
"winget": "TheDocumentFoundation.LibreOffice"
},
"Installadobe": {
"winget": "Adobe.Acrobat.Reader.64-bit"
},

View File

@ -107,6 +107,10 @@ $WPFTab4BT.Add_Click({
#===========================================================================
$WPFinstall.Add_Click({
$wingetinstall = New-Object System.Collections.Generic.List[System.Object]
If ( $WPFInstalllibreoffice.IsChecked -eq $true ) {
$wingetinstall.Add("TheDocumentFoundation.LibreOffice")
$WPFInstalllibreoffice.IsChecked = $false
}
If ( $WPFInstalladobe.IsChecked -eq $true ) {
$wingetinstall.Add("Adobe.Acrobat.Reader.64-bit")
$WPFInstalladobe.IsChecked = $false