diff --git a/applications.json b/applications.json index 90e81414..f4f178a8 100644 --- a/applications.json +++ b/applications.json @@ -1,5 +1,8 @@ { "install": { + "Installlibreoffice": { + "winget": "TheDocumentFoundation.LibreOffice" + }, "Installadobe": { "winget": "Adobe.Acrobat.Reader.64-bit" }, diff --git a/winutil.ps1 b/winutil.ps1 index 90b75d9e..90dd9520 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -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