{ "version": "7.3.2", "description": "Powerful office suite", "homepage": "https://libreoffice.org/", "license": "MPL-2.0", "suggest": { "vcredist": "extras/vcredist2015" }, "url": "https://download.documentfoundation.org/libreoffice/portable/7.3.2/LibreOfficePortable_7.3.2_MultilingualAll.paf.exe#/dl.7z", "hash": "29554cb1ce3b2326a5a3e2bfb7b7e76ec292a7d3bc73bfafffaf1c8f94e30701", "pre_install": [ "if (!(Test-Path \"$persist_dir\\Data\\settings\")) {", " New-Item \"$dir\\Data\\settings\\LibreOfficePortableSettings.ini\" -Value \"[LibreOfficePortableSettings]`nInvalidPackageWarningShown=$version.0\" -Force | Out-Null", " if (Test-Path \"$env:AppData\\LibreOffice\") {", " info \"Copying old '$env:AppData\\LibreOffice' to '$persist_dir\\Data\\settings'\"", " Get-Item \"$env:AppData\\LibreOffice\\*\\*\" | Copy-Item -Destination \"$dir\\Data\\settings\" -Recurse -Force", " } else {", " Copy-Item \"$dir\\App\\DefaultData\\*\" \"$dir\\Data\" -Recurse -Force", " }", "}", "Remove-Item \"$dir\\`$*\" -Recurse -Force" ], "shortcuts": [ [ "LibreOfficePortable.exe", "LibreOffice\\LibreOffice" ], [ "LibreOfficeBasePortable.exe", "LibreOffice\\LibreOffice Base" ], [ "LibreOfficeCalcPortable.exe", "LibreOffice\\LibreOffice Calc" ], [ "LibreOfficeDrawPortable.exe", "LibreOffice\\LibreOffice Draw" ], [ "LibreOfficeImpressPortable.exe", "LibreOffice\\LibreOffice Impress" ], [ "LibreOfficeMathPortable.exe", "LibreOffice\\LibreOffice Math" ], [ "LibreOfficeWriterPortable.exe", "LibreOffice\\LibreOffice Writer" ] ], "persist": "Data", "checkver": { "url": "https://download.documentfoundation.org/libreoffice/portable/?C=M;O=D", "regex": ">([\\d.]+)/<" }, "autoupdate": { "url": "https://download.documentfoundation.org/libreoffice/portable/$version/LibreOfficePortable_$version_MultilingualAll.paf.exe#/dl.7z", "hash": { "url": "$url.sha256" } } }